diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-01-17 07:40:54 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-01-17 07:40:54 +0800 |
commit | c6d91c9f4beedb1788783c19c5cdf6c70ac0aa52 (patch) | |
tree | 0d6bb5a2eb56f36044243e61db997f22bb662590 /graphics | |
parent | c3b2d8df5d0169d77ae314791101102cbaf61415 (diff) | |
download | freebsd-ports-gnome-c6d91c9f4beedb1788783c19c5cdf6c70ac0aa52.tar.gz freebsd-ports-gnome-c6d91c9f4beedb1788783c19c5cdf6c70ac0aa52.tar.zst freebsd-ports-gnome-c6d91c9f4beedb1788783c19c5cdf6c70ac0aa52.zip |
- Support STAGEDIR
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/box/Makefile | 20 | ||||
-rw-r--r-- | graphics/box/pkg-plist | 1 |
2 files changed, 6 insertions, 15 deletions
diff --git a/graphics/box/Makefile b/graphics/box/Makefile index ee267cc296ea..c8896df8736a 100644 --- a/graphics/box/Makefile +++ b/graphics/box/Makefile @@ -22,31 +22,21 @@ CONFIGURE_ARGS= --with-cairo USE_LDCONFIG= yes MAKE_JOBS_UNSAFE=yes -MAN1= ${PORTNAME}.1 - PORTDOCS= AUTHORS ChangeLog README STYLE TODO PORTEXAMPLES= * -PLIST_SUB+= PLIST_VER=${PORTVERSION:R} - OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes -.include <bsd.port.options.mk> +PLIST_SUB+= PLIST_VER=${PORTVERSION:R} post-patch: ${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check) diff --git a/graphics/box/pkg-plist b/graphics/box/pkg-plist index 8468506647d1..3fffa2372f09 100644 --- a/graphics/box/pkg-plist +++ b/graphics/box/pkg-plist @@ -96,6 +96,7 @@ lib/libboxcore%%PLIST_VER%%.a lib/libboxcore%%PLIST_VER%%.la lib/libboxcore%%PLIST_VER%%.so lib/libboxcore%%PLIST_VER%%.so.0 +man/man1/box.1.gz @dirrm lib/box%%PLIST_VER%%/pkg/g @dirrm lib/box%%PLIST_VER%%/pkg @dirrm lib/box%%PLIST_VER%%/lib |