From 161c920c15367de281f689f6f1177c3a33e63cc6 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 24 Mar 2007 19:21:18 +0000 Subject: Prepare for switching to NO_MTREE=yes. --- lang/oo2c/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lang/oo2c') 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" -- cgit v1.2.3