summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-06 07:46:15 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-06 07:46:15 +0000
commitbda2066af53a891a332cd4a47e6ac4fe3a9cd837 (patch)
tree6f32f4bdb4e29a763761b18c8269a857fa791a28 /japanese
parent9f31daf0d5a8cc5f52f70659abab7294e3e73fb1 (diff)
downloadpkgsrc-bda2066af53a891a332cd4a47e6ac4fe3a9cd837.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/Makefile12
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}