diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2004-02-13 14:51:30 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2004-02-13 14:51:30 +0000 |
commit | 562e735423b5fa423a2db57f831eb85bd3a4071a (patch) | |
tree | 993ad402d7b464800883b82a6c021dbb2d9533df /devel/swig20/Makefile | |
parent | 7521d1d84d9989abb20b3121bf7b27e5e58b7251 (diff) | |
download | ports-562e735423b5fa423a2db57f831eb85bd3a4071a.tar.gz ports-562e735423b5fa423a2db57f831eb85bd3a4071a.zip |
Notes
Diffstat (limited to 'devel/swig20/Makefile')
-rw-r--r-- | devel/swig20/Makefile | 15 |
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> |