summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-09-06 07:25:48 +0000
committersakamoto <sakamoto>1999-09-06 07:25:48 +0000
commit6917b33e1d5fb668f91422f67507541540b77e19 (patch)
treedaea0b2f5f42f50e383db074ba3c443438852850 /japanese
parent0ea6e84367fd7ca10d485f240f662d85a00ba143 (diff)
downloadpkgsrc-6917b33e1d5fb668f91422f67507541540b77e19.tar.gz
Use PLIST_SUBST=CANNAOWNER=${CANNAOWNER} \
CANNAGROUP=${CANNAGROUP} \ DICT_DIR=${DICT_DIR} \ PREFIX=${PREFIX}
Diffstat (limited to 'japanese')
-rw-r--r--japanese/canna-lib/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile
index e56b169a524..4deab56135e 100644
--- a/japanese/canna-lib/Makefile
+++ b/japanese/canna-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/08/27 04:06:57 sakamoto Exp $
+# $NetBSD: Makefile,v 1.3 1999/09/06 07:25:48 sakamoto Exp $
#
DISTNAME= Canna35b2
@@ -14,9 +14,6 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= tech-pkg-ja@jp.netbsd.org
HOMEPAGE= http://www.nec.co.jp/japanese/product/computer/soft/canna/
-PLIST_TMP= ${PKGDIR}/PLIST
-PLIST_SRC= ${WRKDIR}/PLIST
-
INSTALL_TARGET= install install.man
.include "../../mk/bsd.prefs.mk"
@@ -25,6 +22,10 @@ CANNAGROUP?= daemon
DICT_DIR?= /var/dict
MAKE_ENV+= CANNAOWNER=${CANNAOWNER} CANNAGROUP=${CANNAGROUP} \
DICT_DIR=${DICT_DIR}
+PLIST_SUBST= CANNAOWNER=${CANNAOWNER} \
+ CANNAGROUP=${CANNAGROUP} \
+ DICT_DIR=${DICT_DIR} \
+ PREFIX=${PREFIX}
post-patch:
@${MV} ${WRKSRC}/Imakefile ${WRKSRC}/Imakefile.orig
@@ -43,13 +44,6 @@ do-configure:
post-configure:
@${LN} -s ${WRKSRC}/server/*.h ${WRKSRC}/include
-post-build:
- @${SED} -e 's|$${CANNAOWNER}|${CANNAOWNER}|' \
- -e 's|$${CANNAGROUP}|${CANNAGROUP}|' \
- -e 's|$${DICT_DIR}|${DICT_DIR}|' \
- -e 's|$${PREFIX}|${PREFIX}|' \
- ${PLIST_TMP} > ${PLIST_SRC}
-
post-install:
@${LN} -s ${DICT_DIR}/canna ${PREFIX}/share/canna/dic