1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix install by generating the plist during the pre-install phase.

Reported by:	bento via kris
This commit is contained in:
Joe Marcus Clarke 2003-07-27 17:24:26 +00:00
parent fe54f3904b
commit 5fd5085b10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85689

View File

@ -28,8 +28,10 @@ pre-fetch:
@${ECHO_MSG} "should be installed; currently, it is set to ${DICTIONARIES}"
@${ECHO_MSG} "Set it to one or more of the following: ${DICT_ALL}"
pre-install:
@${ECHO_CMD} ${DICTIONARIES} | ${TR} ' ' '\n' | ${SED} 's,^,share/,' > ${PLIST}
do-install:
${ECHO_CMD} ${DICTIONARIES} | ${TR} ' ' '\n' | ${SED} 's,^,share/,' > ${PLIST}
${MKDIR} ${DICT_DIR}
${INSTALL} ${DICTIONARIES:S,^,${WRKSRC}/,} ${DICT_DIR}/