diff options
-rw-r--r-- | net-im/ickle/Makefile | 6 | ||||
-rw-r--r-- | net-im/libicq2000/Makefile | 10 | ||||
-rw-r--r-- | net/ickle/Makefile | 6 | ||||
-rw-r--r-- | net/libicq2000/Makefile | 10 |
4 files changed, 22 insertions, 10 deletions
diff --git a/net-im/ickle/Makefile b/net-im/ickle/Makefile index 0b447bbe4927..f27cab9e462a 100644 --- a/net-im/ickle/Makefile +++ b/net-im/ickle/Makefile @@ -20,15 +20,17 @@ LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \ WANT_GNOME= yes USE_GTK= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \ --with-gtkmm-prefix=${X11BASE} +CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`" post-patch: - @${PERL} -pi -e 's|(#include <sys/socket.h>)|#include <sys/types.h>\n\1|' \ - ${WRKSRC}/ctrlsocket/ControlSocket.h + @${REINPLACE_CMD} -E -e 's|(gtkmm_config_args[[:space:]]*=).+$$|\1|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .include <bsd.port.pre.mk> diff --git a/net-im/libicq2000/Makefile b/net-im/libicq2000/Makefile index 2e483c22501c..c1079f690d71 100644 --- a/net-im/libicq2000/Makefile +++ b/net-im/libicq2000/Makefile @@ -7,6 +7,7 @@ PORTNAME= libicq2000 PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,6 +17,7 @@ MAINTAINER= lioux@FreeBSD.org LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++ USE_LIBTOOL= yes +USE_REINPLACE= yes MAN1= libicq2000-config.1 @@ -23,14 +25,16 @@ DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ TODO post-patch: - @${PERL} -pi -e \ + @${REINPLACE_CMD} -E -e \ 's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \ ${WRKSRC}/libicq2000/Makefile.in - @${PERL} -pi -e 's|(iomanip).h|\1|' ${WRKSRC}/libicq2000/buffer.h + @${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \ + ${WRKSRC}/libicq2000-config.in post-configure: @${CP} ${LOCALBASE}/bin/libtool ${WRKSRC} - @${PERL} -pi -e 's|^(install_ltlibs=).*|\1no|' ${WRKSRC}/libtool + @${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \ + ${WRKSRC}/libtool post-install: .ifndef(NOPORTDOCS) diff --git a/net/ickle/Makefile b/net/ickle/Makefile index 0b447bbe4927..f27cab9e462a 100644 --- a/net/ickle/Makefile +++ b/net/ickle/Makefile @@ -20,15 +20,17 @@ LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \ WANT_GNOME= yes USE_GTK= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes INSTALLS_SHLIB= yes CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \ --with-gtkmm-prefix=${X11BASE} +CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`" post-patch: - @${PERL} -pi -e 's|(#include <sys/socket.h>)|#include <sys/types.h>\n\1|' \ - ${WRKSRC}/ctrlsocket/ControlSocket.h + @${REINPLACE_CMD} -E -e 's|(gtkmm_config_args[[:space:]]*=).+$$|\1|' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .include <bsd.port.pre.mk> diff --git a/net/libicq2000/Makefile b/net/libicq2000/Makefile index 2e483c22501c..c1079f690d71 100644 --- a/net/libicq2000/Makefile +++ b/net/libicq2000/Makefile @@ -7,6 +7,7 @@ PORTNAME= libicq2000 PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,6 +17,7 @@ MAINTAINER= lioux@FreeBSD.org LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++ USE_LIBTOOL= yes +USE_REINPLACE= yes MAN1= libicq2000-config.1 @@ -23,14 +25,16 @@ DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ TODO post-patch: - @${PERL} -pi -e \ + @${REINPLACE_CMD} -E -e \ 's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \ ${WRKSRC}/libicq2000/Makefile.in - @${PERL} -pi -e 's|(iomanip).h|\1|' ${WRKSRC}/libicq2000/buffer.h + @${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \ + ${WRKSRC}/libicq2000-config.in post-configure: @${CP} ${LOCALBASE}/bin/libtool ${WRKSRC} - @${PERL} -pi -e 's|^(install_ltlibs=).*|\1no|' ${WRKSRC}/libtool + @${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \ + ${WRKSRC}/libtool post-install: .ifndef(NOPORTDOCS) |