diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-03-28 19:47:14 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-03-28 19:47:14 +0000 |
commit | 3b7b7e5f1ed1e297a8ce85b6f6039ecd2b525778 (patch) | |
tree | 8228320f223a8ac03172e15b6702ba00b03ee2f2 | |
parent | 4defc8d936aa8390ce29224945eeda7d64fb6bfe (diff) | |
download | ports-3b7b7e5f1ed1e297a8ce85b6f6039ecd2b525778.tar.gz ports-3b7b7e5f1ed1e297a8ce85b6f6039ecd2b525778.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)
Notes
Notes:
svn path=/head/; revision=349454
-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 |