aboutsummaryrefslogtreecommitdiff
path: root/chinese/bg5ps
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:44:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:44:58 +0000
commit7e9975b7498651dbf135fe3461b59a67ecfa6bc0 (patch)
tree1b61f3e3a24710661d7233c8c8351da6c50ebb96 /chinese/bg5ps
parentc88ecfb4d6b5c1832f2c6758055824f87af20369 (diff)
downloadports-7e9975b7498651dbf135fe3461b59a67ecfa6bc0.tar.gz
ports-7e9975b7498651dbf135fe3461b59a67ecfa6bc0.zip
Use SUB_FILES
Notes
Notes: svn path=/head/; revision=158547
Diffstat (limited to 'chinese/bg5ps')
-rw-r--r--chinese/bg5ps/Makefile2
-rw-r--r--chinese/bg5ps/files/pkg-message.in (renamed from chinese/bg5ps/pkg-message)4
2 files changed, 4 insertions, 2 deletions
diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile
index 1d6b946ad15e..273895c13950 100644
--- a/chinese/bg5ps/Makefile
+++ b/chinese/bg5ps/Makefile
@@ -16,6 +16,8 @@ COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts
USE_FREETYPE= yes
USE_PYTHON= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
do-install:
@${MKDIR} ${PREFIX}/share/doc/bg5ps
diff --git a/chinese/bg5ps/pkg-message b/chinese/bg5ps/files/pkg-message.in
index 69734efe44a5..12ff7ba2c1f8 100644
--- a/chinese/bg5ps/pkg-message
+++ b/chinese/bg5ps/files/pkg-message.in
@@ -1,8 +1,8 @@
--------------------------------------------------------------------
Please check the following files:
-/usr/local/etc/bg5ps.conf.sample
-/usr/local/etc/gb2312-bg5ps.conf.sample
+%%PREFIX%%/etc/bg5ps.conf.sample
+%%PREFIX%%/etc/gb2312-bg5ps.conf.sample
Copy one of them to ~/.bg5ps.conf(depend on which encoding you use),
then modify it to suit your needs. Type `bg5ps -h` for help.