summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-14 13:19:28 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-14 13:19:28 +0800
commit6ba5869c83d538383785c36e487ba56233ac65dc (patch)
tree67416b2ce6ada60a1e88202d4573b0b1de54ce15 /devel
parentf0a1af20c7d2231d4a9ea1227e8bbdedaa3f5875 (diff)
downloadmarcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.tar
marcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.tar.gz
marcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.tar.bz2
marcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.tar.lz
marcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.tar.xz
marcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.tar.zst
marcuscom-ports-6ba5869c83d538383785c36e487ba56233ac65dc.zip
-Add GCONF_SCHEMAS.
-USE_X_PREFIX -> USE_XLIB. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7055 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/regexxer/Makefile64
-rw-r--r--devel/regexxer/distinfo6
-rw-r--r--devel/regexxer/pkg-descr7
-rw-r--r--devel/regexxer/pkg-plist18
4 files changed, 95 insertions, 0 deletions
diff --git a/devel/regexxer/Makefile b/devel/regexxer/Makefile
new file mode 100644
index 000000000..f673625d6
--- /dev/null
+++ b/devel/regexxer/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: regexxer
+# Date created: 15 February 2003
+# Whom: Rui Lopes <rui@ruilopes.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= regexxer
+PORTVERSION= 0.8
+PORTREVISION= 4
+CATEGORIES= devel textproc gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ ftp://ftp.csx.cam.ac.uk/pub/software/programming/%SUBDIR%/:pcre \
+ ftp://ftp.fu-berlin.de/unix/misc/%SUBDIR%/:pcre \
+ ftp://ftp.tin.org/pub/libs/%SUBDIR%/: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= gconfmm-2.6:${PORTSDIR}/devel/gconfmm26 \
+ glademm-2.4:${PORTSDIR}/devel/libglademm24
+
+USE_BZIP2= yes
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget intltool intlhack
+CONFIGURE_ARGS= PCRE_CONFIG="${PCRE_WRKDIR}/.install/bin/pcre-config"
+CONFIGURE_ENV= CPPFLAGS="-I${PCRE_WRKDIR}/.install/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${PCRE_WRKDIR}/.install/lib -L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= regexxer.schemas
+
+PCRE_NAME= pcre
+PCRE_VERSION= 4.5
+PCRE_WRKDIR= ${WRKDIR}/${PCRE_NAME}-${PCRE_VERSION}
+
+pre-configure:
+ @(cd ${PCRE_WRKDIR} && \
+ ${ECHO_CMD} "Configuring PCRE... " && \
+ ${SETENV} CC="${CC}" CXX="${CXX}" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ INSTALL="/usr/bin/install" \
+ 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})
+
+# This target is only meant to be used by the port maintainer.
+x-generate-plist:
+ (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${GREP} regexxer) > temp-pkg-plist
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+USE_GCC= 3.4
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/regexxer/distinfo b/devel/regexxer/distinfo
new file mode 100644
index 000000000..19a8f4bcf
--- /dev/null
+++ b/devel/regexxer/distinfo
@@ -0,0 +1,6 @@
+MD5 (regexxer-0.8.tar.bz2) = f84782bd5e3dd4e83e4034a4ad3f2f8a
+SHA256 (regexxer-0.8.tar.bz2) = 9e5850faac4652417d54d4e2b968c493155173060ed4ce98ca561751d3242017
+SIZE (regexxer-0.8.tar.bz2) = 224966
+MD5 (pcre-4.5.tar.bz2) = c51bd34197008b128046f0799d2242e4
+SHA256 (pcre-4.5.tar.bz2) = 2149cc922e26d53448e1e396e1a123925a1f1a83259a80f9bbe796807714c251
+SIZE (pcre-4.5.tar.bz2) = 349536
diff --git a/devel/regexxer/pkg-descr b/devel/regexxer/pkg-descr
new file mode 100644
index 000000000..ffdeae993
--- /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 000000000..2a147379a
--- /dev/null
+++ b/devel/regexxer/pkg-plist
@@ -0,0 +1,18 @@
+bin/regexxer
+share/gnome/applications/regexxer.desktop
+share/gnome/pixmaps/regexxer.png
+share/gnome/regexxer/aboutdialog.glade
+share/gnome/regexxer/mainwindow.glade
+share/gnome/regexxer/prefdialog.glade
+share/locale/cs/LC_MESSAGES/regexxer.mo
+share/locale/de/LC_MESSAGES/regexxer.mo
+share/locale/en/LC_MESSAGES/regexxer.mo
+share/locale/en_CA/LC_MESSAGES/regexxer.mo
+share/locale/en_GB/LC_MESSAGES/regexxer.mo
+share/locale/it/LC_MESSAGES/regexxer.mo
+share/locale/ja/LC_MESSAGES/regexxer.mo
+share/locale/nl/LC_MESSAGES/regexxer.mo
+share/locale/pt/LC_MESSAGES/regexxer.mo
+share/locale/pt_BR/LC_MESSAGES/regexxer.mo
+share/locale/sv/LC_MESSAGES/regexxer.mo
+@dirrm share/gnome/regexxer