aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-01-17 07:40:54 +0800
committernemysis <nemysis@FreeBSD.org>2014-01-17 07:40:54 +0800
commitc6d91c9f4beedb1788783c19c5cdf6c70ac0aa52 (patch)
tree0d6bb5a2eb56f36044243e61db997f22bb662590 /graphics
parentc3b2d8df5d0169d77ae314791101102cbaf61415 (diff)
downloadfreebsd-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/Makefile20
-rw-r--r--graphics/box/pkg-plist1
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