diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-17 10:37:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-17 10:37:44 +0800 |
commit | 80755011b964780d6d3f6605ff6f75e785f8410c (patch) | |
tree | 1fe4f43fc6c0ca6077b1d9bdd159678b51f19ee6 /games | |
parent | 02d6e14ae72cbbc58aab70ce30fb2322c577cead (diff) | |
download | freebsd-ports-gnome-80755011b964780d6d3f6605ff6f75e785f8410c.tar.gz freebsd-ports-gnome-80755011b964780d6d3f6605ff6f75e785f8410c.tar.zst freebsd-ports-gnome-80755011b964780d6d3f6605ff6f75e785f8410c.zip |
- Simplify MASTER_SITES
- Switch to USES=localbase
- Pet portlint
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r-- | games/glightoff/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/games/glightoff/Makefile b/games/glightoff/Makefile index 82ec39d31073..b9fbc9425153 100644 --- a/games/glightoff/Makefile +++ b/games/glightoff/Makefile @@ -5,24 +5,21 @@ PORTNAME= glightoff PORTVERSION= 1.0.0 PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF 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 +BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser + +USES= gmake iconv localbase 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 @@ -30,14 +27,10 @@ OPTIONS_SUB= yes NLS_USES= gettext -.include <bsd.port.options.mk> - -post-configure: -.if ! ${PORT_OPTIONS:MNLS} +post-configure-NLS-off: @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile -.endif -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |