Date: Sun, 3 Nov 2013 01:19:03 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332572 - head/games/libshhcards Message-ID: <201311030119.rA31J3KO030167@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sun Nov 3 01:19:03 2013 New Revision: 332572 URL: http://svnweb.freebsd.org/changeset/ports/332572 Log: - Add stage support - Add DOCS option Modified: head/games/libshhcards/Makefile head/games/libshhcards/pkg-plist Modified: head/games/libshhcards/Makefile ============================================================================== --- head/games/libshhcards/Makefile Sun Nov 3 01:07:04 2013 (r332571) +++ head/games/libshhcards/Makefile Sun Nov 3 01:19:03 2013 (r332572) @@ -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> Modified: head/games/libshhcards/pkg-plist ============================================================================== --- head/games/libshhcards/pkg-plist Sun Nov 3 01:07:04 2013 (r332571) +++ head/games/libshhcards/pkg-plist Sun Nov 3 01:19:03 2013 (r332572) @@ -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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311030119.rA31J3KO030167>