aboutsummaryrefslogtreecommitdiff
path: root/chinese/dictd-database
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2010-01-09 14:57:32 +0000
committerRong-En Fan <rafan@FreeBSD.org>2010-01-09 14:57:32 +0000
commit93be02c81e345665e92ecd4fed27d86e91cf9f17 (patch)
tree07bd4280589633f73e6a3faff7b5d850b9576038 /chinese/dictd-database
parent497144e1b55957f09021fcbee45d46451e11dfbe (diff)
downloadports-93be02c81e345665e92ecd4fed27d86e91cf9f17.tar.gz
ports-93be02c81e345665e92ecd4fed27d86e91cf9f17.zip
- Use SUB_FILES for PKGMESSAGE
PR: ports/142415 (based on) Submitted by: Sevan Janiyan <venture37 at geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=247451
Diffstat (limited to 'chinese/dictd-database')
-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