summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2008-09-06 17:54:15 +0000
committerahoka <ahoka@pkgsrc.org>2008-09-06 17:54:15 +0000
commitff90db518e01a362b2b7feb7ab02354d98da74dd (patch)
treea062c74e122889f3c2cc23eb72ad6c17d266ee7c
parent979dc8852983e9ee2235f66a585a9cb7e5a16696 (diff)
downloadpkgsrc-ff90db518e01a362b2b7feb7ab02354d98da74dd.tar.gz
Replace perl and sed interpreter in installed scripts.
-rw-r--r--lang/smalltalk/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index 03aae4f7a4b..b0cf1e8f0c7 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.42 2007/09/03 13:36:28 obache Exp $
+# $NetBSD: Makefile,v 1.43 2008/09/06 17:54:15 ahoka Exp $
DISTNAME= smalltalk-2.3.5
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=smalltalk/}
@@ -24,6 +25,14 @@ CONFIGURE_ARGS+= --without-emacs
#CONFIGURE_ARGS+= --without-glib --without-gtk
#CONFIGURE_ENV+= CFLAGS="-O2 -fsigned-char"
+SUBST_CLASSES+= sed
+SUBST_STAGE.sed= pre-configure
+SUBST_MESSAGE.sed= Replacing sed interpreter.
+SUBST_FILES.sed= examples/*.sed
+SUBST_SED.sed= -e "s|/bin/sed|${SED}|"
+
+REPLACE_PERL+= vfs/mailfs vfs/deb
+
IGNORE_LIBTOOLIZE= lib/smalltalk/libc.la
INFO_FILES= YES
TEST_TARGET= check