diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-08 01:27:00 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-08 01:27:00 +0800 |
commit | 48ec7c4909e6f4c3129e619c33661ee4d3ec3fd0 (patch) | |
tree | 64292276946fef896555eb971c79c07e4bd67a98 /games | |
parent | 2b914cb541bd7841b745b8333c147b0c0d04d95c (diff) | |
download | freebsd-ports-gnome-48ec7c4909e6f4c3129e619c33661ee4d3ec3fd0.tar.gz freebsd-ports-gnome-48ec7c4909e6f4c3129e619c33661ee4d3ec3fd0.tar.zst freebsd-ports-gnome-48ec7c4909e6f4c3129e619c33661ee4d3ec3fd0.zip |
- Convert USE_BZIP2 to USES
- Add OPTIONS
- Simplify
Diffstat (limited to 'games')
-rw-r--r-- | games/amoebax/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/games/amoebax/Makefile b/games/amoebax/Makefile index fdf91b1721d5..27766bbab6a8 100644 --- a/games/amoebax/Makefile +++ b/games/amoebax/Makefile @@ -17,21 +17,16 @@ LICENSE_NAME_FAL= Free Art License, version 1.2 LICENSE_FILE_FAL= ${WRKSRC}/COPYING.LAL LICENSE_PERMS_FAL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USE_BZIP2= yes +USES= tar:bzip2 gmake GNU_CONFIGURE= yes -USES= gmake USE_SDL= sdl mixer image PORTDOCS= * +OPTIONS_DEFINE= DOCS + post-patch: - @${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|datarootdir|datadir|' ${WRKSRC}/data/Makefile.in - @${FIND} ${WRKSRC}/ -name Makefile.in|${XARGS}\ - ${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|= ${DATADIR}|' - -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${STAGEDIR}${DOCSDIR} + @${REINPLACE_CMD} -e 's|datarootdir|datadir|' \ + ${WRKSRC}/data/Makefile.in ${WRKSRC}/doc/Makefile.in .include <bsd.port.mk> |