aboutsummaryrefslogtreecommitdiff
path: root/devel/regexxer
diff options
context:
space:
mode:
Diffstat (limited to 'devel/regexxer')
-rw-r--r--devel/regexxer/Makefile47
-rw-r--r--devel/regexxer/distinfo2
-rw-r--r--devel/regexxer/pkg-descr7
-rw-r--r--devel/regexxer/pkg-plist3
4 files changed, 59 insertions, 0 deletions
diff --git a/devel/regexxer/Makefile b/devel/regexxer/Makefile
new file mode 100644
index 000000000000..ace2f35b0513
--- /dev/null
+++ b/devel/regexxer/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: regexxer
+# Date created: 15 February 2003
+# Whom: Rui Lopes <rui@ruilopes.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= regexxer
+PORTVERSION= 0.4
+CATEGORIES= devel textproc gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:pcre/}
+MASTER_SITE_SUBDIR= ${PORTNAME} \
+ ${PCRE_NAME}/:pcre
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
+ $(PCRE_NAME)-${PCRE_VERSION}${EXTRACT_SUFX}:pcre
+
+MAINTAINER= rui@ruilopes.com
+COMMENT= An interactive tool for performing search and replace operations
+
+LIB_DEPENDS= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtk--2
+
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehack gnomeprefix
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= PCRE_CONFIG="${PCRE_WRKDIR}/.install/bin/pcre-config"
+
+PCRE_NAME= pcre
+PCRE_VERSION= 3.9
+PCRE_WRKDIR= ${WRKDIR}/${PCRE_NAME}-${PCRE_VERSION}
+
+pre-configure:
+ @(cd ${PCRE_WRKDIR} && \
+ $(ECHO) "Configuring PCRE... " && \
+ ${SETENV} CC="${CC}" CXX="${CXX}" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ ./configure --enable-utf8 --disable-shared --prefix="${PCRE_WRKDIR}/.install" && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} $(INSTALL_TARGET))
+
+.include <bsd.port.mk>
diff --git a/devel/regexxer/distinfo b/devel/regexxer/distinfo
new file mode 100644
index 000000000000..78879adb6d64
--- /dev/null
+++ b/devel/regexxer/distinfo
@@ -0,0 +1,2 @@
+MD5 (regexxer-0.4.tar.gz) = e761fe8dd24eaa9f1d203672a92bbfd5
+MD5 (pcre-3.9.tar.gz) = 55d9f1ee68ff335850c0d07a2daf242a
diff --git a/devel/regexxer/pkg-descr b/devel/regexxer/pkg-descr
new file mode 100644
index 000000000000..ffdeae993e8d
--- /dev/null
+++ b/devel/regexxer/pkg-descr
@@ -0,0 +1,7 @@
+regexxer is a nifty GUI search/replace tool featuring Perl-style regular
+expressions.
+
+If you need project-wide substitution and you're tired of hacking sed
+command lines together, then you should definitely give it a try.
+
+WWW: http://regexxer.sourceforge.net/
diff --git a/devel/regexxer/pkg-plist b/devel/regexxer/pkg-plist
new file mode 100644
index 000000000000..8ed107af5483
--- /dev/null
+++ b/devel/regexxer/pkg-plist
@@ -0,0 +1,3 @@
+bin/regexxer
+share/gnome/applications/regexxer.desktop
+share/gnome/pixmaps/regexxer.png