aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 09:45:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 09:45:24 +0000
commit9899d053ce37ffe246d17c7033d570138c060879 (patch)
tree4a445844759378ac29023bc1399f69afeb4863d5 /vietnamese
parentbcdb860e308e2745d5503a51c611d591422fc855 (diff)
downloadports-9899d053ce37ffe246d17c7033d570138c060879.tar.gz
ports-9899d053ce37ffe246d17c7033d570138c060879.zip
Notes
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