svn commit: r348447 - head/vietnamese/vnlpr
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Mar 17 08:00:24 UTC 2014
Author: ehaupt
Date: Mon Mar 17 08:00:23 2014
New Revision: 348447
URL: http://svnweb.freebsd.org/changeset/ports/348447
QAT: https://qat.redports.org/buildarchive/r348447/
Log:
Support staging
Modified:
head/vietnamese/vnlpr/Makefile
head/vietnamese/vnlpr/pkg-plist
Modified: head/vietnamese/vnlpr/Makefile
==============================================================================
--- head/vietnamese/vnlpr/Makefile Mon Mar 17 07:54:09 2014 (r348446)
+++ head/vietnamese/vnlpr/Makefile Mon Mar 17 08:00:23 2014 (r348447)
@@ -14,7 +14,8 @@ COMMENT= Shell script and set of fonts t
RUN_DEPENDS= vn7to8:${PORTSDIR}/vietnamese/vn7to8 \
vnpstext:${PORTSDIR}/vietnamese/vnpstext
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
pre-patch:
@${MV} ${WRKSRC}/vnlpr ${WRKSRC}/vnlpr.in
@@ -24,14 +25,12 @@ do-build:
${WRKSRC}/vnlpr.in > ${WRKSRC}/vnlpr
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/vnlpr ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/vn-fonts
- ${INSTALL_DATA} ${WRKSRC}/*.ps ${PREFIX}/share/vn-fonts
- ${INSTALL_DATA} ${WRKSRC}/*.gsf ${PREFIX}/share/vn-fonts
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/INSTALL ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/vnlpr ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/vn-fonts
+ ${INSTALL_DATA} ${WRKSRC}/*.ps ${STAGEDIR}${PREFIX}/share/vn-fonts
+ ${INSTALL_DATA} ${WRKSRC}/*.gsf ${STAGEDIR}${PREFIX}/share/vn-fonts
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/vietnamese/vnlpr/pkg-plist
==============================================================================
--- head/vietnamese/vnlpr/pkg-plist Mon Mar 17 07:54:09 2014 (r348446)
+++ head/vietnamese/vnlpr/pkg-plist Mon Mar 17 08:00:23 2014 (r348447)
@@ -15,4 +15,7 @@ share/vn-fonts/mq_11.gsf
share/vn-fonts/pt_11.gsf
share/vn-fonts/th_11.gsf
share/vn-fonts/uh_11.gsf
+share/vn-fonts/initcour.ps
+share/vn-fonts/initcourb.ps
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm share/vn-fonts
More information about the svn-ports-all
mailing list