Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 16:39:01 +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: r342769 - head/devel/p5-Rcs
Message-ID:  <201402051639.s15Gd1OF030616@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb  5 16:39:01 2014
New Revision: 342769
URL: http://svnweb.freebsd.org/changeset/ports/342769
QAT: https://qat.redports.org/buildarchive/r342769/

Log:
  Support staging.

Modified:
  head/devel/p5-Rcs/Makefile
  head/devel/p5-Rcs/pkg-plist

Modified: head/devel/p5-Rcs/Makefile
==============================================================================
--- head/devel/p5-Rcs/Makefile	Wed Feb  5 16:37:52 2014	(r342768)
+++ head/devel/p5-Rcs/Makefile	Wed Feb  5 16:39:01 2014	(r342769)
@@ -13,8 +13,6 @@ COMMENT=	Perl Object Class for Revision 
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		Rcs.3
-
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
 EXAMPLES=	access.pl ci.pl co-tree.pl co.pl comments.pl \
 		comments2.pl daterev.pl dates.pl parse.pl \
@@ -23,14 +21,11 @@ EXAMPLES=	access.pl ci.pl co-tree.pl co.
 		rcsdiff.pl revdate.pl rlog.pl symbols.pl symrev.pl \
 		test1.pl test2.pl test3.pl unlock.pl
 
-NO_STAGE=	yes
 post-install:
-	${MKDIR} ${EXAMPLESDIR}
-	${MKDIR} ${EXAMPLESDIR}/project
-	${MKDIR} ${EXAMPLESDIR}/project/RCS
-	${MKDIR} ${EXAMPLESDIR}/project/src
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${EXAMPLESDIR}/project/RCS \
+		${STAGEDIR}${EXAMPLESDIR}/project/src
 .for _EXAMPLE in ${EXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/examples/${_EXAMPLE} ${EXAMPLESDIR}/${_EXAMPLE}
+	${INSTALL_DATA} ${WRKSRC}/examples/${_EXAMPLE} ${STAGEDIR}${EXAMPLESDIR}/${_EXAMPLE}
 .endfor
 
 .include <bsd.port.mk>

Modified: head/devel/p5-Rcs/pkg-plist
==============================================================================
--- head/devel/p5-Rcs/pkg-plist	Wed Feb  5 16:37:52 2014	(r342768)
+++ head/devel/p5-Rcs/pkg-plist	Wed Feb  5 16:39:01 2014	(r342769)
@@ -1,5 +1,6 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Rcs/.packlist
 %%SITE_PERL%%/Rcs.pm
+%%PERL5_MAN3%%/Rcs.3.gz
 share/examples/p5-Rcs/project/RCS/Rcs.pm,v
 share/examples/p5-Rcs/project/RCS/testfile,v
 share/examples/p5-Rcs/project/src/Rcs.pm



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