mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Fix packaging.
Reported by: QAT
This commit is contained in:
parent
fbb5fb8b18
commit
ccb00c6800
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259861
@ -21,7 +21,8 @@ USE_BZIP2= yes
|
||||
|
||||
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
DICTDIR= share/stardict/dic
|
||||
STARDICT_DIR= share/stardict
|
||||
DICTDIR= ${STARDICT_DIR}/dic
|
||||
|
||||
DISTSUFFIX= -dictd_www.mova.org
|
||||
|
||||
@ -71,5 +72,6 @@ do-install:
|
||||
.endfor
|
||||
.endfor
|
||||
@${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec ${RMDIR} %D/${STARDICT_DIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -21,7 +21,8 @@ USE_BZIP2= yes
|
||||
|
||||
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
DICTDIR= share/stardict/dic
|
||||
STARDICT_DIR= share/stardict
|
||||
DICTDIR= ${STARDICT_DIR}/dic
|
||||
|
||||
DICTIONARIES= afr-eng afr-swe bul-swe dan-deu dan-eng dan-fin dan-fra \
|
||||
dan-hun dan-ind dan-ita dan-jpn dan-lat dan-nld dan-nor \
|
||||
@ -76,5 +77,6 @@ post-install:
|
||||
${FIND} -s . -type f -o -type l | ${SED} -e 's|^\.|${DICTDIR}|' >> ${TMPPLIST}
|
||||
.endfor
|
||||
@${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec ${RMDIR} %D/${STARDICT_DIR} 2>/dev/null || true" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user