summaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-06 13:37:38 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-06 13:37:38 +0000
commit7ba1b53fad83ea4e54d15712b0bced13b7572704 (patch)
tree2d455ef844945849c25c747db637bddefcde04c4 /russian
parent- Update to 1.1.8 (diff)
- Support staging
- Define language specific package prefix
Notes
Notes: svn path=/head/; revision=343075
Diffstat (limited to 'russian')
-rw-r--r--russian/p5-XML-Parser-encodings/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/russian/p5-XML-Parser-encodings/Makefile b/russian/p5-XML-Parser-encodings/Makefile
index c854e98af3fe..89bdc20216c3 100644
--- a/russian/p5-XML-Parser-encodings/Makefile
+++ b/russian/p5-XML-Parser-encodings/Makefile
@@ -4,7 +4,6 @@
PORTNAME= XML-Parser-encodings
PORTVERSION= 1.03
CATEGORIES= russian textproc perl5
-PKGNAMEPREFIX= p5-
DISTFILES=
MAINTAINER= perl@FreeBSD.org
@@ -20,7 +19,10 @@ USES= perl5
NO_WRKSUBDIR= YES
RUSSIANENC= cp1251 cp866 mac-cyrillic
-NO_STAGE= yes
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
+
post-extract:
.for ICONVPORT in iconv iconv-extra
@${LN} -sfh \
@@ -44,7 +46,8 @@ do-build:
.endfor
do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/XML/Parser/Encodings
${INSTALL_DATA} ${WRKSRC}/*.enc \
- ${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/XML/Parser/Encodings/
+ ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/XML/Parser/Encodings
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>