aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2010-01-09 22:57:32 +0800
committerrafan <rafan@FreeBSD.org>2010-01-09 22:57:32 +0800
commita1a9de94e7960c5312ef97687c3a9e4e255b3dea (patch)
treea86f0fd7284fad05d658d85e122f64e2275032a7 /chinese
parent3fda43ecc82efb3ad232fcbeb929abdb0b37253b (diff)
downloadfreebsd-ports-gnome-a1a9de94e7960c5312ef97687c3a9e4e255b3dea.tar.gz
freebsd-ports-gnome-a1a9de94e7960c5312ef97687c3a9e4e255b3dea.tar.zst
freebsd-ports-gnome-a1a9de94e7960c5312ef97687c3a9e4e255b3dea.zip
- Use SUB_FILES for PKGMESSAGE
PR: ports/142415 (based on) Submitted by: Sevan Janiyan <venture37 at geeklan.co.uk>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/dictd-database/Makefile5
-rw-r--r--chinese/dictd-database/files/pkg-message.in (renamed from chinese/dictd-database/pkg-message)0
2 files changed, 1 insertions, 4 deletions
diff --git a/chinese/dictd-database/Makefile b/chinese/dictd-database/Makefile
index db185a7fb19d..8ae9b652d2b0 100644
--- a/chinese/dictd-database/Makefile
+++ b/chinese/dictd-database/Makefile
@@ -19,14 +19,11 @@ COMMENT= A Chinese <-> English dictd words database
RUN_DEPENDS= ${LOCALBASE}/sbin/dictd:${PORTSDIR}/net/dictd
NO_BUILD= yes
-
-MSG_FILE= ${PKGDIR}/pkg-message
-PKGMESSAGE= ${WRKSRC}/pkg-message
+SUB_FILES= pkg-message
DICTFILES= cedict pydict moecomp netterm
do-install:
- ${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
@${MKDIR} ${PREFIX}/lib/dict
for f in ${DICTFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${PREFIX}/lib/dict; \
diff --git a/chinese/dictd-database/pkg-message b/chinese/dictd-database/files/pkg-message.in
index a51994b04156..a51994b04156 100644
--- a/chinese/dictd-database/pkg-message
+++ b/chinese/dictd-database/files/pkg-message.in