aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bugzilla42
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2012-07-29 00:25:11 +0800
committerohauer <ohauer@FreeBSD.org>2012-07-29 00:25:11 +0800
commita029651f8e33c06811df0d2bbdd70c6741eb66ea (patch)
treea520752426df36344cfdf4d15ff4cdfcb6df63ef /devel/bugzilla42
parent5f9a4da98b9e12a52bf3c82a819f6d13200007d0 (diff)
downloadfreebsd-ports-gnome-a029651f8e33c06811df0d2bbdd70c6741eb66ea.tar.gz
freebsd-ports-gnome-a029651f8e33c06811df0d2bbdd70c6741eb66ea.tar.zst
freebsd-ports-gnome-a029651f8e33c06811df0d2bbdd70c6741eb66ea.zip
- pkgng: cosmetic fix against lstat messages
Diffstat (limited to 'devel/bugzilla42')
-rw-r--r--devel/bugzilla42/Makefile7
-rw-r--r--devel/bugzilla42/pkg-plist2
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/bugzilla42/Makefile b/devel/bugzilla42/Makefile
index 18974141020b..01cac908a621 100644
--- a/devel/bugzilla42/Makefile
+++ b/devel/bugzilla42/Makefile
@@ -40,6 +40,9 @@ SUB_FILES= pkg-message
DATA_DIRS_LIST= images js skins
+# checksetup will fail if these directories are not present!
+EMPTY_DIRS_LIST=data graphs contrib lib t xt
+
.include "${.CURDIR}/Makefile.common"
.include "${.CURDIR}/Makefile.options"
.include <bsd.port.options.mk>
@@ -177,15 +180,13 @@ do-install: .SILENT
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${WWWDIR}/${D})
.endfor
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${WWWDIR} -xf -
+ @${MKDIR} ${EMPTY_DIRS_LIST:S!^!${WWWDIR}/!}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}/)
.endif
-# checksetup will fail if these directories are not present!
- ${MKDIR} ${WWWDIR}/contrib ${WWWDIR}/lib ${WWWDIR}/t ${WWWDIR}/xt
-
.if ${PORT_OPTIONS:MCONTRIB}
@cd ${WRKSRC}/contrib && \
${FIND} . -type d -exec ${MKDIR} "${WWWDIR}/contrib/{}" \; && \
diff --git a/devel/bugzilla42/pkg-plist b/devel/bugzilla42/pkg-plist
index 1ceedff8e115..4ffe9916217b 100644
--- a/devel/bugzilla42/pkg-plist
+++ b/devel/bugzilla42/pkg-plist
@@ -1051,4 +1051,6 @@
@exec mkdir -p %D/%%WWWDIR%%/xt
@exec mkdir -p %D/%%WWWDIR%%/t
@exec mkdir -p %D/%%WWWDIR%%/lib
+@exec mkdir -p %D/%%WWWDIR%%/graphs
+@exec mkdir -p %D/%%WWWDIR%%/data
@exec mkdir -p %D/%%WWWDIR%%/contrib