diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2011-06-11 19:04:02 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2011-06-11 19:04:02 +0000 |
commit | 869b4c1071525db9692ca812465ca0557ddfb8c4 (patch) | |
tree | 7c44a886da5cb7cb5d1442c113729cf992d90378 /german/bugzilla/Makefile | |
parent | 83dbcaa25c7b1394b9e32fa2948dbbded6caea62 (diff) |
Notes
Diffstat (limited to 'german/bugzilla/Makefile')
-rw-r--r-- | german/bugzilla/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/german/bugzilla/Makefile b/german/bugzilla/Makefile new file mode 100644 index 000000000000..a79b32b7522f --- /dev/null +++ b/german/bugzilla/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: de-bugzilla +# Date created: 2011-06-11 +# Whom: Olli Hauer <ohauer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= bugzilla +PORTVERSION= 4.0.1 +CATEGORIES= german +MASTER_SITES= SF +MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION} +DISTNAME= germzilla-${PORTVERSION}-1.utf-8 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= ohauer@FreeBSD.org +COMMENT= German localization for Bugzilla + +RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla + +NO_WRKSUBDIR= yes + +.include "${.CURDIR}/../../devel/bugzilla/Makefile.common" + +LANGDIR= ${WWWDIR}/template/de + +do-install: + @-${MKDIR} ${LANGDIR} + @(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR}) +.if !defined(BATCH) + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} +.endif + +# Maintainer +plist: extract + @( cd ${WRKDIR}/ && ${FIND} de -type f | ${AWK} '{print "%%WWWDIR%%/template/"$$1}' | ${SORT} > ${PLIST}.new ) + @( cd ${WRKDIR}/ && ${FIND} de -type d | ${AWK} '{print "@dirrmtry %%WWWDIR%%/template/"$$1}' | ${SORT} -r >> ${PLIST}.new ) + @if ${DIFF} -u ${PLIST} ${PLIST}.new ; then \ + ${ECHO_MSG} no pkg-plist changes; \ + ${RM} ${PLIST}.new ; \ + fi + +.include <bsd.port.mk> |