aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 17:45:24 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 17:45:24 +0800
commitaeb28b653544681e7e73c9a28f7813fcd812990e (patch)
tree4a445844759378ac29023bc1399f69afeb4863d5 /vietnamese
parentd11dbfd5b5a3101233398f5f931e5cc68d721b45 (diff)
downloadfreebsd-ports-gnome-aeb28b653544681e7e73c9a28f7813fcd812990e.tar.gz
freebsd-ports-gnome-aeb28b653544681e7e73c9a28f7813fcd812990e.tar.zst
freebsd-ports-gnome-aeb28b653544681e7e73c9a28f7813fcd812990e.zip
- Stage support
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/vnpstext/Makefile10
-rw-r--r--vietnamese/vnpstext/files/patch-012
-rw-r--r--vietnamese/vnpstext/pkg-plist1
3 files changed, 6 insertions, 7 deletions
diff --git a/vietnamese/vnpstext/Makefile b/vietnamese/vnpstext/Makefile
index d61b4015bba5..43ec3d9b9391 100644
--- a/vietnamese/vnpstext/Makefile
+++ b/vietnamese/vnpstext/Makefile
@@ -12,14 +12,12 @@ MAINTAINER= obrien@FreeBSD.org
COMMENT= Converts 8-bit VISCII Vietnamese text into PostScript
CFLAGS+= -I../../include
-MAN1= vnpstext.1
-NO_STAGE= yes
do-install:
- @${MKDIR} ${PREFIX}/share/vn-fonts
- ${INSTALL_PROGRAM} ${WRKSRC}/vnpstext ${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/vn-fonts
+ ${INSTALL_PROGRAM} ${WRKSRC}/vnpstext ${STAGEDIR}${PREFIX}/bin
(cd ${WRKSRC} ; \
- ${INSTALL_DATA} *.ps prologs/*.pro ${PREFIX}/share/vn-fonts)
- ${INSTALL_MAN} ${WRKSRC}/vnpstext.1V ${PREFIX}/man/man1/vnpstext.1
+ ${INSTALL_DATA} *.ps prologs/*.pro ${STAGEDIR}${PREFIX}/share/vn-fonts)
+ ${INSTALL_MAN} ${WRKSRC}/vnpstext.1V ${STAGEDIR}${PREFIX}/man/man1/vnpstext.1
.include <bsd.port.mk>
diff --git a/vietnamese/vnpstext/files/patch-01 b/vietnamese/vnpstext/files/patch-01
index 4ba0f6bc6edc..0795e9e4bc8d 100644
--- a/vietnamese/vnpstext/files/patch-01
+++ b/vietnamese/vnpstext/files/patch-01
@@ -6,7 +6,7 @@
-DEFAULT_PSLIBDIR = "\"/usr/local/lib/ps\""
+#DEFAULT_PSLIBDIR = "\"/usr/local/lib/ps\""
-+DEFAULT_PSLIBDIR = "\"$(PREFIX)/share/vn-fonts\""
++DEFAULT_PSLIBDIR = "\"$(DESTDIR)$(PREFIX)/share/vn-fonts\""
SHELL = /bin/sh
VNLIBDIR= ../lib
diff --git a/vietnamese/vnpstext/pkg-plist b/vietnamese/vnpstext/pkg-plist
index dded34ff6672..bb12550125a7 100644
--- a/vietnamese/vnpstext/pkg-plist
+++ b/vietnamese/vnpstext/pkg-plist
@@ -7,4 +7,5 @@ share/vn-fonts/cour12.pro
share/vn-fonts/cour12b.pro
share/vn-fonts/cour17.pro
share/vn-fonts/cour17b.pro
+man/man1/vnpstext.1.gz
@dirrm share/vn-fonts