diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 21:37:38 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 21:37:38 +0800 |
commit | 0a6909b5ec8c8e6462ff4db65109e317c3d37108 (patch) | |
tree | 2d455ef844945849c25c747db637bddefcde04c4 /russian | |
parent | b728d3d5e6d3ce5539303d2e925eec67e0907586 (diff) | |
download | freebsd-ports-gnome-0a6909b5ec8c8e6462ff4db65109e317c3d37108.tar.gz freebsd-ports-gnome-0a6909b5ec8c8e6462ff4db65109e317c3d37108.tar.zst freebsd-ports-gnome-0a6909b5ec8c8e6462ff4db65109e317c3d37108.zip |
- Support staging
- Define language specific package prefix
Diffstat (limited to 'russian')
-rw-r--r-- | russian/p5-XML-Parser-encodings/Makefile | 11 |
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> |