- update russian bugzilla templates to current version
- remove redundand PKGNAMESUFFIX (-ru) since we have already PKGNAMEPREFIX?=ru- - use PORTVERSION and DISTNAME instead DISTVERSION so we end up with a pretty PKGNAME and INDEX entry Example output for bugzilla: make -V PKGNAME ru-bugzilla-4.0.7 (now) ru-bugzilla-ru-4.0.7.r.201200809 (before) The changes where done with the view to pkgNG, so users can do an easy install/update of the package. Approved by: skv (impicit)
This commit is contained in:
parent
31711fab76
commit
d64b4ae61d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302361
15 changed files with 92 additions and 76 deletions
|
@ -6,8 +6,8 @@
|
|||
SUBDIR += MT
|
||||
SUBDIR += artwiz-ru
|
||||
SUBDIR += aspell
|
||||
SUBDIR += bugzilla-ru
|
||||
SUBDIR += bugzilla3-ru
|
||||
SUBDIR += bugzilla
|
||||
SUBDIR += bugzilla3
|
||||
SUBDIR += calligra-l10n
|
||||
SUBDIR += d1489
|
||||
SUBDIR += eric4
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
# New ports collection makefile for: bugzilla-ru
|
||||
# Date created: 28 Jul 2008
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bugzilla
|
||||
DISTVERSION= 4.0.5-ru-20120227
|
||||
CATEGORIES= russian
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-4.0-ru/${PORTVERSION:R:R}
|
||||
PKGNAMESUFFIX= -ru
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Russian localization for Bugzilla
|
||||
|
||||
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/r.*$/ru/}
|
||||
|
||||
.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
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (bugzilla/bugzilla-4.0.5-ru-20120227.tar.gz) = 67f9c7e8ef581808b4c0a4edd27910492bab0c0230f68c0f30ad750ad6266700
|
||||
SIZE (bugzilla/bugzilla-4.0.5-ru-20120227.tar.gz) = 336890
|
42
russian/bugzilla/Makefile
Normal file
42
russian/bugzilla/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
|||
# New ports collection makefile for: bugzilla-ru
|
||||
# Date created: 28 Jul 2008
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bugzilla
|
||||
PORTVERSION= 4.0.7
|
||||
CATEGORIES= russian
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
|
||||
DISTNAME= bugzilla-${PORTVERSION}-ru-20120809
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Russian localization for Bugzilla
|
||||
|
||||
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
|
||||
|
||||
.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
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
@( cd ${WRKSRC}/ && ${FIND} * -type f | ${AWK} '{print "%%WWWDIR%%/"$$1}' | ${SORT} > ${PLIST}.new )
|
||||
@( cd ${WRKSRC}/ && ${FIND} * -type d | ${AWK} '{print "@dirrmtry %%WWWDIR%%/"$$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>
|
2
russian/bugzilla/distinfo
Normal file
2
russian/bugzilla/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (bugzilla/bugzilla-4.0.7-ru-20120809.tar.gz) = e10e3f2578705ed4433daa0c5b6c44dc43aff696aba9a5f83dbdfc11094a2a24
|
||||
SIZE (bugzilla/bugzilla-4.0.7-ru-20120809.tar.gz) = 336769
|
|
@ -286,4 +286,3 @@
|
|||
@dirrmtry %%WWWDIR%%/template
|
||||
@dirrmtry %%WWWDIR%%/help/ru
|
||||
@dirrmtry %%WWWDIR%%/help
|
||||
@dirrmtry %%WWWDIR%%
|
|
@ -1,35 +0,0 @@
|
|||
# New ports collection makefile for: bugzilla-ru
|
||||
# Date created: 28 Jul 2008
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bugzilla
|
||||
DISTVERSION= 3.6.9-ru-20120419
|
||||
CATEGORIES= russian
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-3.6-ru/${PORTVERSION:R:R}
|
||||
PKGNAMESUFFIX= -ru
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Russian localization for Bugzilla
|
||||
|
||||
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla3
|
||||
|
||||
LATEST_LINK= ${PKGNAMEPREFIX}bugzilla3${PKGNAMESUFFIX}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/r.*$/ru/}
|
||||
|
||||
.include "${.CURDIR}/../../devel/bugzilla3/Makefile.common"
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${WWWDIR}
|
||||
(cd ${WRKSRC} && ${PAX} -r -w * ${WWWDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (bugzilla/bugzilla-3.6.9-ru-20120419.tar.gz) = a6c8fa4e70b5f0fb00fc1ba80a201d934b8ca1b214aef4006834655703b6544f
|
||||
SIZE (bugzilla/bugzilla-3.6.9-ru-20120419.tar.gz) = 323608
|
44
russian/bugzilla3/Makefile
Normal file
44
russian/bugzilla3/Makefile
Normal file
|
@ -0,0 +1,44 @@
|
|||
# New ports collection makefile for: bugzilla-ru
|
||||
# Date created: 28 Jul 2008
|
||||
# Whom: Sergey Skvortsov <skv@protey.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bugzilla
|
||||
PORTVERSION= 3.6.10
|
||||
CATEGORIES= russian
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
|
||||
DISTNAME= bugzilla-${PORTVERSION}-ru-20120809
|
||||
|
||||
MAINTAINER= skv@FreeBSD.org
|
||||
COMMENT= Russian localization for Bugzilla
|
||||
|
||||
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla3
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.ru
|
||||
|
||||
.include "${.CURDIR}/../../devel/bugzilla3/Makefile.common"
|
||||
|
||||
LATEST_LINK= ${PKGNAMEPREFIX}bugzilla3
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${WWWDIR}
|
||||
(cd ${WRKSRC}/ && ${PAX} -r -w * ${WWWDIR})
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
|
||||
# Maintainer
|
||||
plist: patch
|
||||
@( cd ${WRKSRC}/ && ${FIND} * -type f | ${AWK} '{print "%%WWWDIR%%/"$$1}' | ${SORT} > ${PLIST}.new )
|
||||
@( cd ${WRKSRC}/ && ${FIND} * -type d | ${AWK} '{print "@dirrmtry %%WWWDIR%%/"$$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>
|
2
russian/bugzilla3/distinfo
Normal file
2
russian/bugzilla3/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (bugzilla/bugzilla-3.6.10-ru-20120809.tar.gz) = 398d5628f09b294623e64878ca0155fee54f30c22f69e69a0099d144529e7d7f
|
||||
SIZE (bugzilla/bugzilla-3.6.10-ru-20120809.tar.gz) = 323589
|
|
@ -290,4 +290,3 @@
|
|||
@dirrmtry %%WWWDIR%%/template
|
||||
@dirrmtry %%WWWDIR%%/help/ru
|
||||
@dirrmtry %%WWWDIR%%/help
|
||||
@dirrmtry %%WWWDIR%%
|
Loading…
Reference in a new issue