summaryrefslogtreecommitdiff
path: root/lang/oo2c
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-03-24 19:21:18 +0000
committerjoerg <joerg@pkgsrc.org>2007-03-24 19:21:18 +0000
commit161c920c15367de281f689f6f1177c3a33e63cc6 (patch)
treea57573ceef3abc19d705671351ee7db9e9292311 /lang/oo2c
parent8c89cf7eab0786e7a5f162a44198b342e5fd87d0 (diff)
downloadpkgsrc-161c920c15367de281f689f6f1177c3a33e63cc6.tar.gz
Prepare for switching to NO_MTREE=yes.
Diffstat (limited to 'lang/oo2c')
-rw-r--r--lang/oo2c/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index 4522f400a81..11ce24d78e9 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/02/20 19:04:14 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2007/03/24 19:21:25 joerg Exp $
DISTNAME= oo2c_${BITS}-2.0.11
PKGNAME= oo2c-2.0.11
@@ -28,6 +28,8 @@ USE_LIBTOOL= yes
EVAL_PREFIX+= LIBTOOL_PREFIX=libtool-base
LIBTOOL_PREFIX_DEFAULT= ${LOCALBASE}
+INSTALLATION_DIRS= share/doc/html share/emacs/site-lisp
+
pre-install:
for f in ${WRKSRC}/rsrc/OOC/oo2crc.xml; do \
${SED} -e 's,${BUILDLINK_DIR},${LIBTOOL_PREFIX},g' \
@@ -35,9 +37,8 @@ pre-install:
done
post-install:
- cd ${PREFIX}/share/doc/html && ${LN} -sf ${PREFIX}/lib/oo2c/oocdoc/html oo2c
- ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
- cd ${PREFIX}/share/emacs/site-lisp && ${LN} -sf ${PREFIX}/lib/oo2c/emacs oo2c
+ ${LN} -sf ${PREFIX}/lib/oo2c/oocdoc/html ${PREFIX}/share/doc/html/oo2c
+ ${LN} -sf ${PREFIX}/lib/oo2c/emacs ${PREFIX}/share/emacs/site-lisp/oo2c
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"