diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-21 18:41:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-21 18:41:59 +0800 |
commit | b62d3fb2c4c8a3ebdeed50eae7aa75aad290873f (patch) | |
tree | f76c27fc94aeee37f943b1bc352ebbfe759f17e6 /www | |
parent | 2c4e5a95301aef1dfe4ad94aec5f1d51871d67f3 (diff) | |
download | freebsd-ports-gnome-b62d3fb2c4c8a3ebdeed50eae7aa75aad290873f.tar.gz freebsd-ports-gnome-b62d3fb2c4c8a3ebdeed50eae7aa75aad290873f.tar.zst freebsd-ports-gnome-b62d3fb2c4c8a3ebdeed50eae7aa75aad290873f.zip |
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'www')
-rw-r--r-- | www/llgal/Makefile | 11 | ||||
-rw-r--r-- | www/llgal/pkg-plist | 1 |
2 files changed, 8 insertions, 4 deletions
diff --git a/www/llgal/Makefile b/www/llgal/Makefile index 1e2ac0bddf63..84c9bfb2802f 100644 --- a/www/llgal/Makefile +++ b/www/llgal/Makefile @@ -26,6 +26,8 @@ RUN_DEPENDS= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \ USES= gettext perl5 gmake tar:bzip2 shebangfix SHEBANG_FILES= llgal.in USE_PERL5= run +NO_ARCH= yes + OPTIONS_DEFINE= DOCS post-patch: @@ -37,12 +39,13 @@ post-configure: ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install//' ${WRKSRC}/lib/Makefile post-install: - ${INSTALL_DATA} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 + ${INSTALL_MAN} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/doc/*.html \ + ${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> diff --git a/www/llgal/pkg-plist b/www/llgal/pkg-plist index 02d531d84157..90ecbb3c9b14 100644 --- a/www/llgal/pkg-plist +++ b/www/llgal/pkg-plist @@ -5,6 +5,7 @@ bin/llgal %%SITE_PERL%%/Llgal/Utils.pm man/man1/llgal.1.gz man/man5/llgalrc.5.gz +%%PORTDOCS%%%%DOCSDIR%%/Changes %%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/README %%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/add_comment.php %%PORTDOCS%%%%DOCSDIR%%/examples/dynamic_comments_in_slides/slidetemplate.html |