summaryrefslogtreecommitdiff
path: root/inputmethod/canna-dict
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-12-29 01:03:21 +0000
committerseb <seb@pkgsrc.org>2002-12-29 01:03:21 +0000
commitb246f7270d309501479ff9c6ca2a0f59a0e84a1b (patch)
treedec14d96d319da18fae715e721d2314f2ad5b30c /inputmethod/canna-dict
parent2c19017573125248858aaa608e98f436613c1426 (diff)
downloadpkgsrc-b246f7270d309501479ff9c6ca2a0f59a0e84a1b.tar.gz
Avoid setting LOCALBASE (this breaks path to some commands on non-NetBSD
systems), tweak PREFIX instead (but must comes after inclusion of bsd.pkg.mk). Also remove apparent useless post-build target.
Diffstat (limited to 'inputmethod/canna-dict')
-rw-r--r--inputmethod/canna-dict/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/inputmethod/canna-dict/Makefile b/inputmethod/canna-dict/Makefile
index 720cdaf246e..7e28ac5eef4 100644
--- a/inputmethod/canna-dict/Makefile
+++ b/inputmethod/canna-dict/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/12/27 08:41:23 uebayasi Exp $
+# $NetBSD: Makefile,v 1.4 2002/12/29 01:03:21 seb Exp $
DISTNAME= Canna36p1
PKGNAME= Canna-dict-3.6.1
@@ -20,7 +20,6 @@ BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
NO_MTREE= yes
-LOCALBASE= ${IMDICTDIR}
.if 0 # defined(USE_INET6) && ${USE_INET6} == "YES"
INET6= -DINET6
.else
@@ -51,12 +50,11 @@ do-configure:
do-build:
@(cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM})
-post-build:
- @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/canna \
- > ${WRKDIR}/canna
-
do-install:
@(cd ${WRKSRC}/dic/ideo; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install)
.include "../../devel/nbitools/nbitools.mk"
.include "../../mk/bsd.pkg.mk"
+
+# Need to set this here _after_ bsd.pkg.mk
+PREFIX= ${IMDICTDIR}