- add STAGE support to bugzilla ports
- remove bugzilla3 CONFLICTS
This commit is contained in:
parent
b4a1668335
commit
c0e86f6715
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328405
@ -36,7 +36,6 @@ DATA_DIRS_LIST= images js skins
|
||||
# checksetup will fail if these directories are not present!
|
||||
EMPTY_DIRS_LIST=data graphs contrib lib t xt
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/Makefile.common"
|
||||
.include "${.CURDIR}/Makefile.options"
|
||||
.include <bsd.port.options.mk>
|
||||
@ -155,30 +154,25 @@ post-patch:
|
||||
| ${XARGS} ${RM} -rf
|
||||
|
||||
do-install: .SILENT
|
||||
${MKDIR} ${WWWDIR}
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \
|
||||
${INSTALL_SCRIPT} {} ${WWWDIR} \;
|
||||
@${MKDIR} ${DATA_DIRS_LIST:S!^!${WWWDIR}/!}
|
||||
${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \;
|
||||
@${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!}
|
||||
.for D in ${DATA_DIRS_LIST}
|
||||
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${WWWDIR}/${D})
|
||||
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D})
|
||||
.endfor
|
||||
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${WWWDIR} -xf -
|
||||
@${MKDIR} ${EMPTY_DIRS_LIST:S!^!${WWWDIR}/!}
|
||||
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf -
|
||||
@${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!}
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}/)
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCONTRIB}
|
||||
@cd ${WRKSRC}/contrib && \
|
||||
${FIND} . -type d -exec ${MKDIR} "${WWWDIR}/contrib/{}" \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${WWWDIR}/contrib/{}" \;
|
||||
.endif
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${WWWDIR}/contrib/{}" \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/contrib/{}" \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -3,7 +3,6 @@
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
CONFLICTS_INSTALL= \
|
||||
bugzilla-3.* \
|
||||
bugzilla-4.[^0].*
|
||||
|
||||
PORTSCOUT= limit:^4\.0\.
|
||||
|
@ -39,7 +39,6 @@ DATA_DIRS_LIST= images js skins
|
||||
# checksetup will fail if these directories are not present!
|
||||
EMPTY_DIRS_LIST=data graphs contrib lib t xt
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/Makefile.common"
|
||||
.include "${.CURDIR}/Makefile.options"
|
||||
.include <bsd.port.options.mk>
|
||||
@ -164,30 +163,25 @@ post-patch:
|
||||
| ${XARGS} ${RM} -rf
|
||||
|
||||
do-install: .SILENT
|
||||
${MKDIR} ${WWWDIR}
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \
|
||||
${INSTALL_SCRIPT} {} ${WWWDIR} \;
|
||||
@${MKDIR} ${DATA_DIRS_LIST:S!^!${WWWDIR}/!}
|
||||
${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \;
|
||||
@${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!}
|
||||
.for D in ${DATA_DIRS_LIST}
|
||||
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${WWWDIR}/${D})
|
||||
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D})
|
||||
.endfor
|
||||
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${WWWDIR} -xf -
|
||||
@${MKDIR} ${EMPTY_DIRS_LIST:S!^!${WWWDIR}/!}
|
||||
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf -
|
||||
@${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!}
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}/)
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCONTRIB}
|
||||
@cd ${WRKSRC}/contrib && \
|
||||
${FIND} . -type d -exec ${MKDIR} "${WWWDIR}/contrib/{}" \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${WWWDIR}/contrib/{}" \;
|
||||
.endif
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${WWWDIR}/contrib/{}" \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/contrib/{}" \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -3,7 +3,6 @@
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
CONFLICTS_INSTALL= \
|
||||
bugzilla-3.* \
|
||||
bugzilla-4.[^2].*
|
||||
|
||||
PORTSCOUT= limitw:1,even
|
||||
|
@ -39,7 +39,6 @@ DATA_DIRS_LIST= images js skins
|
||||
# checksetup will fail if these directories are not present!
|
||||
EMPTY_DIRS_LIST=data graphs contrib lib t xt
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/Makefile.common"
|
||||
.include "${.CURDIR}/Makefile.options"
|
||||
.include <bsd.port.options.mk>
|
||||
@ -178,30 +177,25 @@ post-patch:
|
||||
| ${XARGS} ${RM} -rf
|
||||
|
||||
do-install: .SILENT
|
||||
${MKDIR} ${WWWDIR}
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \
|
||||
${INSTALL_SCRIPT} {} ${WWWDIR} \;
|
||||
@${MKDIR} ${DATA_DIRS_LIST:S!^!${WWWDIR}/!}
|
||||
${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \;
|
||||
@${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!}
|
||||
.for D in ${DATA_DIRS_LIST}
|
||||
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${WWWDIR}/${D})
|
||||
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D})
|
||||
.endfor
|
||||
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${WWWDIR} -xf -
|
||||
@${MKDIR} ${EMPTY_DIRS_LIST:S!^!${WWWDIR}/!}
|
||||
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf -
|
||||
@${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!}
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}/)
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCONTRIB}
|
||||
@cd ${WRKSRC}/contrib && \
|
||||
${FIND} . -type d -exec ${MKDIR} "${WWWDIR}/contrib/{}" \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${WWWDIR}/contrib/{}" \;
|
||||
.endif
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${WWWDIR}/contrib/{}" \; && \
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${WWWDIR}/contrib/{}" \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -3,7 +3,6 @@
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
CONFLICTS_INSTALL= \
|
||||
bugzilla-3.* \
|
||||
bugzilla-4.[^4].*
|
||||
|
||||
PORTSCOUT= limitw:1,even
|
||||
|
@ -16,7 +16,6 @@ LATEST_LINK= ${PKGNAMEPREFIX}bugzilla
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla/Makefile.common"
|
||||
|
||||
LANGDIR= ${WWWDIR}/template/de
|
||||
@ -27,13 +26,8 @@ LANGDIR= ${WWWDIR}/template/de
|
||||
# @${FIND} ${WRKDIR}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${LANGDIR}
|
||||
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}
|
||||
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR})
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -16,7 +16,6 @@ LATEST_LINK= ${PKGNAMEPREFIX}bugzilla42
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla42/Makefile.common"
|
||||
|
||||
LANGDIR= ${WWWDIR}/template/de
|
||||
@ -27,13 +26,8 @@ LANGDIR= ${WWWDIR}/template/de
|
||||
# @${FIND} ${WRKDIR}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${LANGDIR}
|
||||
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}
|
||||
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR})
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -17,7 +17,6 @@ LATEST_LINK= ${PKGNAMEPREFIX}bugzilla44
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common"
|
||||
|
||||
LANGDIR= ${WWWDIR}/template/de
|
||||
@ -28,13 +27,8 @@ LANGDIR= ${WWWDIR}/template/de
|
||||
# @${FIND} ${WRKDIR}/de/default/ -type f \( -name \*.orig -o -name \*.bak \) -delete
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${LANGDIR}
|
||||
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}
|
||||
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR})
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -15,7 +15,6 @@ RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla/Makefile.common"
|
||||
|
||||
USE_BZIP2= yes
|
||||
@ -23,13 +22,8 @@ USE_BZIP2= yes
|
||||
LANGDIR= ${WWWDIR}/template/ja
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${LANGDIR}/default
|
||||
@cd ${WRKDIR}/default; ${COPYTREE_SHARE} . ${LANGDIR}/default
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}/default
|
||||
@cd ${WRKDIR}/default; ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR}/default
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -17,7 +17,6 @@ LATEST_LINK= ${PKGNAMEPREFIX}bugzilla42
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla42/Makefile.common"
|
||||
|
||||
USE_BZIP2= yes
|
||||
@ -25,13 +24,8 @@ USE_BZIP2= yes
|
||||
LANGDIR= ${WWWDIR}/template/ja
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${LANGDIR}/default
|
||||
@cd ${WRKDIR}/default; ${COPYTREE_SHARE} . ${LANGDIR}/default
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}/default
|
||||
@cd ${WRKDIR}/default; ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR}/default
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -17,7 +17,6 @@ LATEST_LINK= ${PKGNAMEPREFIX}bugzilla44
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common"
|
||||
|
||||
USE_BZIP2= yes
|
||||
@ -25,13 +24,8 @@ USE_BZIP2= yes
|
||||
LANGDIR= ${WWWDIR}/template/ja
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${LANGDIR}/default
|
||||
@cd ${WRKDIR}/default; ${COPYTREE_SHARE} . ${LANGDIR}/default
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}/default
|
||||
@cd ${WRKDIR}/default; ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR}/default
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -14,17 +14,11 @@ RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla/Makefile.common"
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${WWWDIR}
|
||||
(cd ${WRKSRC}/ && ${PAX} -r -w * ${WWWDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC}/ && ${PAX} -r -w * ${STAGEDIR}${WWWDIR})
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
@ -14,19 +14,13 @@ RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla42
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../../devel/bugzilla42/Makefile.common"
|
||||
|
||||
LATEST_LINK= ${PKGNAMEPREFIX}bugzilla42
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${WWWDIR}
|
||||
(cd ${WRKSRC}/ && ${PAX} -r -w * ${WWWDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${WWWDIR}
|
||||
(cd ${WRKSRC}/ && ${PAX} -r -w * ${STAGEDIR}${WWWDIR})
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
|
Loading…
Reference in New Issue
Block a user