# Created by: Rusmir Dusko # $FreeBSD: head/games/glightoff/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= glightoff PORTVERSION= 1.0.0 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple (but not so easy to solve!) puzzle game BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake iconv pkgconfig GNU_CONFIGURE= yes USE_GNOME= glib20 gtk20 USE_XORG= x11 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext .include post-configure: .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include