1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Use SUB_FILES for PKGMESSAGE

PR:		ports/142415 (based on)
Submitted by:	Sevan Janiyan <venture37 at geeklan.co.uk>
This commit is contained in:
Rong-En Fan 2010-01-09 14:57:32 +00:00
parent 497144e1b5
commit 93be02c81e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247451
2 changed files with 1 additions and 4 deletions

View File

@ -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; \