diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2012-07-28 16:25:11 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2012-07-28 16:25:11 +0000 |
commit | d0228223f2d6c913b39cb81f7c25ae67935468e4 (patch) | |
tree | a520752426df36344cfdf4d15ff4cdfcb6df63ef /devel/bugzilla | |
parent | 3cea2eef383599b28d35a22d201168ba6cfb6208 (diff) | |
download | ports-d0228223f2d6c913b39cb81f7c25ae67935468e4.tar.gz ports-d0228223f2d6c913b39cb81f7c25ae67935468e4.zip |
Notes
Diffstat (limited to 'devel/bugzilla')
-rw-r--r-- | devel/bugzilla/Makefile | 7 | ||||
-rw-r--r-- | devel/bugzilla/pkg-plist | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile index 3929c227a9f4..8a05b7ecfc2c 100644 --- a/devel/bugzilla/Makefile +++ b/devel/bugzilla/Makefile @@ -37,6 +37,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> @@ -167,15 +170,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/bugzilla/pkg-plist b/devel/bugzilla/pkg-plist index 733b5cdb355f..63c95ad22429 100644 --- a/devel/bugzilla/pkg-plist +++ b/devel/bugzilla/pkg-plist @@ -1033,4 +1033,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 |