diff options
author | sakamoto <sakamoto> | 1999-09-06 07:46:15 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 1999-09-06 07:46:15 +0000 |
commit | a1de1918d73fd6af740c0b1eaa5da82d6405b33d (patch) | |
tree | 6f32f4bdb4e29a763761b18c8269a857fa791a28 /japanese/sj3-server | |
parent | d160b66116b853e62eaa140551024c6251ca7bc1 (diff) | |
download | pkgsrc-a1de1918d73fd6af740c0b1eaa5da82d6405b33d.tar.gz |
Use PLIST_SUBST=SJ3OWNER=${SJ3OWNER} SJ3GROUP=${SJ3GROUP} DICT_DIR=${DICT_DIR} \
PREFIX=${PREFIX}
Diffstat (limited to 'japanese/sj3-server')
-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} |