summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-04-16 22:53:51 +0000
committerhubertf <hubertf>1999-04-16 22:53:51 +0000
commitee7c2c81cd97cdac0cb30a5b5be08bae909ebbe9 (patch)
treeb86dbd070dea6f172123661be9a0fe929e6de5f1 /math
parent3a91c11232a6b71efd8e289a225ddce512720c66 (diff)
downloadpkgsrc-ee7c2c81cd97cdac0cb30a5b5be08bae909ebbe9.tar.gz
fix appdef handling
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index a44985bf473..f4b6af13a10 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/03/05 11:22:34 frueauf Exp $
+# $NetBSD: Makefile,v 1.7 1999/04/16 22:53:51 hubertf Exp $
#
# IMPORTANT: Before upgrading this package, please read files/README.next_rev!
@@ -20,6 +20,8 @@ DEPENDS+= pvm-3.4.7:../../parallel/pvm3
NO_CDROM= "no paid distribution of SCILAB"
RESTRICTED= "no paid distribution of SCILAB"
+PLIST_SRC= ${WRKDIR}/.PLIST-src
+
USE_X11= yes
GNU_CONFIGURE= yes
@@ -36,8 +38,10 @@ pre-fetch:
fi
post-patch:
+ @${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
+ -e 's|@x11base@|'${X11BASE}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}
@if [ ${MACHINE_ARCH} != "alpha" ]; then \
- ${MV} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
+ ${MV} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
fi
post-install: