Changeset View
Changeset View
Standalone View
Standalone View
japanese/bugzilla44/Makefile
Show All 16 Lines | |||||
.include "${.CURDIR}/../../devel/bugzilla44/Makefile.common" | .include "${.CURDIR}/../../devel/bugzilla44/Makefile.common" | ||||
USES= tar:bzip2 | USES= tar:bzip2 | ||||
LANGDIR= ${WWWDIR}/template/ja | LANGDIR= ${WWWDIR}/template/ja | ||||
do-install: | do-install: | ||||
@-${MKDIR} ${STAGEDIR}${LANGDIR}/default | @-${MKDIR} ${STAGEDIR}${LANGDIR}/default | ||||
(cd ${WRKDIR}/default && ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR}/default) | (cd ${WRKSRC}/default && ${COPYTREE_SHARE} . ${STAGEDIR}${LANGDIR}/default) | ||||
# Maintainer | # Maintainer | ||||
plist: patch | plist: patch | ||||
@( cd ${WRKDIR}/ && ${FIND} default -type f | ${AWK} '{print "%%WWWDIR%%/template/ja/"$$1}' | ${SORT} > ${PLIST}.new ) | @( cd ${WRKSRC}/ && ${FIND} default -type f | ${AWK} '{print "%%WWWDIR%%/template/ja/"$$1}' | ${SORT} > ${PLIST}.new ) | ||||
@if ${DIFF} -u ${PLIST} ${PLIST}.new ; then \ | @if ${DIFF} -u ${PLIST} ${PLIST}.new ; then \ | ||||
${ECHO_MSG} no pkg-plist changes; \ | ${ECHO_MSG} no pkg-plist changes; \ | ||||
${RM} ${PLIST}.new ; \ | ${RM} ${PLIST}.new ; \ | ||||
fi | fi | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |