summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-04-16 22:53:51 +0000
committerhubertf <hubertf@pkgsrc.org>1999-04-16 22:53:51 +0000
commit5b7ac0de30ff87faea7e1c99343b669cd4768e63 (patch)
treeb86dbd070dea6f172123661be9a0fe929e6de5f1 /math/scilab
parent7f70f1bb1e14510e94e90fbcdfaffccf4af3da90 (diff)
downloadpkgsrc-5b7ac0de30ff87faea7e1c99343b669cd4768e63.tar.gz
fix appdef handling
Diffstat (limited to 'math/scilab')
-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: