diff options
author | swills <swills@FreeBSD.org> | 2014-03-29 03:47:14 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-03-29 03:47:14 +0800 |
commit | df2c5b57ca6096cccefd625b2bd219b602b73235 (patch) | |
tree | 8228320f223a8ac03172e15b6702ba00b03ee2f2 /games/adom | |
parent | bd0d57bdf7dbc819e4ffaaae99d97aca96d9967d (diff) | |
download | freebsd-ports-gnome-df2c5b57ca6096cccefd625b2bd219b602b73235.tar.gz freebsd-ports-gnome-df2c5b57ca6096cccefd625b2bd219b602b73235.tar.zst freebsd-ports-gnome-df2c5b57ca6096cccefd625b2bd219b602b73235.zip |
- Stagify
- Cleanup Makefile order
- Use %%DOCSDIR%% macro in pkg-plist
- Allow builds on amd64
PR: ports/187502
Submitted by: Johannes Jost Meixner <xmj@chaot.net>
Approved by: maintainer timeout (sr-13@mail.ru, >2 weeks)
Diffstat (limited to 'games/adom')
-rw-r--r-- | games/adom/Makefile | 19 | ||||
-rw-r--r-- | games/adom/pkg-plist | 6 |
2 files changed, 13 insertions, 12 deletions
diff --git a/games/adom/Makefile b/games/adom/Makefile index 02fc94d8c58b..82f85bea24cb 100644 --- a/games/adom/Makefile +++ b/games/adom/Makefile @@ -3,7 +3,7 @@ PORTNAME= adom PORTVERSION= 1.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games linux MASTER_SITES= http://www.adom.de/adom/download/linux/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-elf @@ -13,12 +13,14 @@ COMMENT= An rogue-like advanced rpg with color support (binary port) LICENSE= unknown LICENSE_NAME= The ADOM License -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror LICENSE_FILE= ${WRKSRC}/readme.1st +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror NO_CDROM= Copy of CD must be sent to author -ONLY_FOR_ARCHS= i386 +OPTIONS_DEFINE= DOCS + +ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes USE_LINUX_APPS= xorglibs @@ -26,14 +28,13 @@ WRKSRC= ${WRKDIR}/adom NO_BUILD= yes STRIP= # empty: do not strip linux binary! -NO_STAGE= yes +.include <bsd.port.options.mk> + do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${INSTALL_PROGRAM} ${WRKSRC}/adom ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in readme.1st adomfaq.txt manual.doc - @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> diff --git a/games/adom/pkg-plist b/games/adom/pkg-plist index 384c0f63aa7f..06ef25613919 100644 --- a/games/adom/pkg-plist +++ b/games/adom/pkg-plist @@ -1,5 +1,5 @@ bin/adom -%%PORTDOCS%%share/doc/adom/adomfaq.txt -%%PORTDOCS%%share/doc/adom/manual.doc -%%PORTDOCS%%share/doc/adom/readme.1st +%%PORTDOCS%%%%DOCSDIR%%/adomfaq.txt +%%PORTDOCS%%%%DOCSDIR%%/manual.doc +%%PORTDOCS%%%%DOCSDIR%%/readme.1st %%PORTDOCS%%@dirrm share/doc/adom |