Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 13:37:38 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343075 - head/russian/p5-XML-Parser-encodings
Message-ID:  <201402061337.s16Dbcla046200@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb  6 13:37:38 2014
New Revision: 343075
URL: http://svnweb.freebsd.org/changeset/ports/343075
QAT: https://qat.redports.org/buildarchive/r343075/

Log:
  - Support staging
  - Define language specific package prefix

Modified:
  head/russian/p5-XML-Parser-encodings/Makefile

Modified: head/russian/p5-XML-Parser-encodings/Makefile
==============================================================================
--- head/russian/p5-XML-Parser-encodings/Makefile	Thu Feb  6 13:31:32 2014	(r343074)
+++ head/russian/p5-XML-Parser-encodings/Makefile	Thu Feb  6 13:37:38 2014	(r343075)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061337.s16Dbcla046200>