diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-03 09:19:03 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-03 09:19:03 +0800 |
commit | 7159aa2f49292781e7c4d1e831b065acc5a23820 (patch) | |
tree | 8b038c5a2dd99a2c637e4f51bd1e620803ceb286 /games | |
parent | 7e31d7fc989fcce096a8e9c3805bafd6bbafe4e4 (diff) | |
download | freebsd-ports-gnome-7159aa2f49292781e7c4d1e831b065acc5a23820.tar.gz freebsd-ports-gnome-7159aa2f49292781e7c4d1e831b065acc5a23820.tar.zst freebsd-ports-gnome-7159aa2f49292781e7c4d1e831b065acc5a23820.zip |
- Add stage support
- Add DOCS option
Diffstat (limited to 'games')
-rw-r--r-- | games/libshhcards/Makefile | 17 | ||||
-rw-r--r-- | games/libshhcards/pkg-plist | 6 |
2 files changed, 12 insertions, 11 deletions
diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile index 5ae32591e286..b5e375559ab8 100644 --- a/games/libshhcards/Makefile +++ b/games/libshhcards/Makefile @@ -16,14 +16,15 @@ MAKEFILE= ${FILESDIR}/Makefile.lib USE_LDCONFIG= yes MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif +do-install: + ${INSTALL_LIB} ${WRKSRC}/libshhcards.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libshhcards.so ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKSRC}/libshhcards.so.1 ${STAGEDIR}${PREFIX}/lib + ${INSTALL} ${WRKSRC}/shhcards.h ${STAGEDIR}${PREFIX}/include + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/games/libshhcards/pkg-plist b/games/libshhcards/pkg-plist index 5960967c3b13..f3d33349776d 100644 --- a/games/libshhcards/pkg-plist +++ b/games/libshhcards/pkg-plist @@ -2,6 +2,6 @@ include/shhcards.h lib/libshhcards.a lib/libshhcards.so lib/libshhcards.so.1 -%%PORTDOCS%%share/doc/libshhcards/CREDITS -%%PORTDOCS%%share/doc/libshhcards/README -%%PORTDOCS%%@dirrm share/doc/libshhcards +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |