aboutsummaryrefslogtreecommitdiff
path: root/devel/swig20/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-02-13 14:51:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-02-13 14:51:30 +0000
commit562e735423b5fa423a2db57f831eb85bd3a4071a (patch)
tree993ad402d7b464800883b82a6c021dbb2d9533df /devel/swig20/Makefile
parent7521d1d84d9989abb20b3121bf7b27e5e58b7251 (diff)
downloadports-562e735423b5fa423a2db57f831eb85bd3a4071a.tar.gz
ports-562e735423b5fa423a2db57f831eb85bd3a4071a.zip
Notes
Diffstat (limited to 'devel/swig20/Makefile')
-rw-r--r--devel/swig20/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/devel/swig20/Makefile b/devel/swig20/Makefile
index 3888b0cda6cc..1616ccc37dcb 100644
--- a/devel/swig20/Makefile
+++ b/devel/swig20/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= swig
-PORTVERSION= 1.3.19
-PORTREVISION= 1
+PORTVERSION= 1.3.20
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -104,16 +103,10 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -fpic -DPIC"
ALL_TARGET= swig runtime
PLIST_SUB+= VER="${VER}"
-post-patch:
- ${PERL} -i.orig -p \
- -e 's:/usr/local(/include/php)\b:${LOCALBASE}$$1:;' \
- -e 's:(/php_config\.h)\b:/main$$1:;' \
- ${WRKSRC}/configure.in ${WRKSRC}/configure
- ${PERL} -i.orig -p \
- -e 's:^(LIBS\s+=\s+):$${1}libswigphp4\$$(RELEASESUFFIX).la :;' \
- ${WRKSRC}/Runtime/Makefile.in
-
post-install:
+# A separate swig13-runtime port might be nice
+ @(cd ${INSTALL_WRKSRC}/Runtime && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+
${LN} -f ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER}
.include <bsd.port.mk>