aboutsummaryrefslogtreecommitdiff
path: root/textproc/bedic-data
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-26 00:03:51 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-26 00:03:51 +0000
commit005071a063d80b0b3365ca212399876ea3a2361c (patch)
tree4b7f7b88d3de8b518ba048a5eff4bfd091c74416 /textproc/bedic-data
parent18bc365f51a1a0bae2df36720bd7c0925f1ccf08 (diff)
downloadports-005071a063d80b0b3365ca212399876ea3a2361c.tar.gz
ports-005071a063d80b0b3365ca212399876ea3a2361c.zip
Notes
Diffstat (limited to 'textproc/bedic-data')
-rw-r--r--textproc/bedic-data/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/textproc/bedic-data/Makefile b/textproc/bedic-data/Makefile
index 43acca9a8391..6ba2047a5300 100644
--- a/textproc/bedic-data/Makefile
+++ b/textproc/bedic-data/Makefile
@@ -11,23 +11,19 @@ MAINTAINER= todorov@freebsd-bg.org
COMMENT= Data (dictionary) files for the kbedic and cbedic ports
NO_BUILD= yes
-PLIST= ${WRKDIR}/pkg-plist
DICT_ALL= buleng.dat engbul.dat
DICT_DIR?= ${PREFIX}/share
DICTIONARIES?= ${DICT_ALL}
+PLIST_FILES= ${DICTIONARIES:S,^,share/,}
-NO_STAGE= yes
pre-fetch:
@${ECHO_MSG} "You may set the DICTIONARIES variable to specify which dictionaries"
@${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:
- ${MKDIR} ${DICT_DIR}
- ${INSTALL} ${DICTIONARIES:S,^,${WRKSRC}/,} ${DICT_DIR}/
+ @${MKDIR} ${STAGEDIR}${DICT_DIR}
+ ${INSTALL} ${DICTIONARIES:S,^,${WRKSRC}/,} ${STAGEDIR}${DICT_DIR}/
.include <bsd.port.mk>