aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-17 16:00:23 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-17 16:00:23 +0800
commit9463342c99c224c3c9527858b2b705b73d911a47 (patch)
tree59d3d9d4e47f4e814ba313dfe67876812c10b83f /vietnamese
parent0cdccdde7430f0a8ecb2e75eb5f38f4d851bbac8 (diff)
downloadfreebsd-ports-gnome-9463342c99c224c3c9527858b2b705b73d911a47.tar.gz
freebsd-ports-gnome-9463342c99c224c3c9527858b2b705b73d911a47.tar.zst
freebsd-ports-gnome-9463342c99c224c3c9527858b2b705b73d911a47.zip
Support staging
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/vnlpr/Makefile19
-rw-r--r--vietnamese/vnlpr/pkg-plist3
2 files changed, 12 insertions, 10 deletions
diff --git a/vietnamese/vnlpr/Makefile b/vietnamese/vnlpr/Makefile
index d006632ff5ad..937a6e7017e3 100644
--- a/vietnamese/vnlpr/Makefile
+++ b/vietnamese/vnlpr/Makefile
@@ -14,7 +14,8 @@ COMMENT= Shell script and set of fonts to print Vietnamese text on PostScript pr
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>
diff --git a/vietnamese/vnlpr/pkg-plist b/vietnamese/vnlpr/pkg-plist
index 1d8d3fd9b876..c6c35ee460df 100644
--- a/vietnamese/vnlpr/pkg-plist
+++ b/vietnamese/vnlpr/pkg-plist
@@ -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%%
+@dirrm share/vn-fonts