diff options
author | sakamoto <sakamoto> | 1999-09-06 07:46:15 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 1999-09-06 07:46:15 +0000 |
commit | 22e19a18b25709677c6d8efcfa2c30c953c2a7ed (patch) | |
tree | 6f32f4bdb4e29a763761b18c8269a857fa791a28 /japanese | |
parent | bc95f2072a58451a5093d6756885c3f3adda85a8 (diff) | |
download | pkgsrc-22e19a18b25709677c6d8efcfa2c30c953c2a7ed.tar.gz |
Use PLIST_SUBST=SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} DICT_DIR=${DICT_DIR} \
PREFIX=${PREFIX}
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/sj3-server/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/japanese/sj3-server/Makefile b/japanese/sj3-server/Makefile index 07383ab2a69..3500ef3dfd9 100644 --- a/japanese/sj3-server/Makefile +++ b/japanese/sj3-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/08/02 11:29:21 sakamoto Exp $ +# $NetBSD: Makefile,v 1.2 1999/09/06 07:46:15 sakamoto Exp $ # DISTNAME= sj3-2.0.1.20 @@ -20,13 +20,12 @@ SJ3OWNER?= daemon SJ3GROUP?= daemon DICT_DIR?= /var/dict MAKE_ENV+= SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} DICT_DIR=${DICT_DIR} +PLIST_SUBST= SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} DICT_DIR=${DICT_DIR} \ + PREFIX=${PREFIX} INSTALL_SRC= ${PKGDIR}/INSTALL INSTALL_FILE= ${WRKDIR}/INSTALL -PLIST_TMP= ${PKGDIR}/PLIST -PLIST_SRC= ${WRKDIR}/PLIST - STARTUP_SCRIPT= etc/rc.d/sj3.sh STARTUP_SCRIPT_SRC=${WRKDIR}/STARTUP @@ -55,11 +54,6 @@ post-build: -e 's|$${DICT_DIR}|${DICT_DIR}|' \ -e 's|$${PREFIX}|${PREFIX}|' \ ${INSTALL_SRC} > ${INSTALL_FILE} - @${SED} -e 's|$${SJ3OWNER}|${SJ3OWNER}|' \ - -e 's|$${SJ3GROUP}|${SJ3GROUP}|' \ - -e 's|$${DICT_DIR}|${DICT_DIR}|' \ - -e 's|$${PREFIX}|${PREFIX}|' \ - ${PLIST_TMP} > ${PLIST_SRC} post-install: @${INSTALL_SCRIPT} ${STARTUP_SCRIPT_SRC} ${PREFIX}/${STARTUP_SCRIPT} |