aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-10-24 12:30:32 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-10-24 12:30:32 +0000
commitaf49c8ba467d3fe33c360876325a0adc5346c17e (patch)
treee92aeb8d8df86a0c46b1a9ed23799bdd5a6d99c4
parente49d7a61499e1db1984a697223ee40c52db3f6c2 (diff)
downloadports-af49c8ba467d3fe33c360876325a0adc5346c17e.tar.gz
ports-af49c8ba467d3fe33c360876325a0adc5346c17e.zip
Notes
-rw-r--r--devel/cvsgraph/Makefile16
-rw-r--r--devel/cvsgraph/distinfo2
-rw-r--r--devel/cvsgraph/files/patch-configure.in11
3 files changed, 9 insertions, 20 deletions
diff --git a/devel/cvsgraph/Makefile b/devel/cvsgraph/Makefile
index 5a2dc7dca7d7..da15e2edf2c8 100644
--- a/devel/cvsgraph/Makefile
+++ b/devel/cvsgraph/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= cvsgraph
-PORTVERSION= 1.2.0
-PORTREVISION= 2
+PORTVERSION= 1.4.0
CATEGORIES= devel graphics
MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
@@ -29,7 +28,6 @@ DOCDIR= share/doc/${PORTNAME}
DOCS= ChangeLog LICENSE README
EXAMPLES= cvsgraphwrapper.php3 mkimage.php3
PLIST= ${WRKDIR}/pkg-plist
-USE_REINPLACE= yes
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-freetype2-inc=${X11BASE}/include/freetype2/freetype \
@@ -49,14 +47,16 @@ CONFIGURE_ARGS= --with-freetype2-inc=${X11BASE}/include/freetype2/freetype \
--with-z
pre-patch:
- ${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" \
- ${WRKSRC}/cvsgraph.conf
+ ${RM} ${WRKSRC}/configure # Avoid having to read this file.
+ ${MV} ${WRKSRC}/cvsgraph.conf ${WRKSRC}/cvsgraph.conf.orig
+ ${SED} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" \
+ < ${WRKSRC}/cvsgraph.conf.orig > ${WRKSRC}/cvsgraph.conf
post-configure:
- ${REINPLACE_CMD} -e \
- "s|CFLAGS =|CFLAGS += -I${LOCALBASE}/include \
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
+ ${SED} -e "s|CFLAGS =|CFLAGS += -I${LOCALBASE}/include \
-I${LOCALBASE}/include/gd|g" \
- ${WRKSRC}/Makefile
+ < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
pre-install:
${ECHO_CMD} bin/cvsgraph > ${PLIST}
diff --git a/devel/cvsgraph/distinfo b/devel/cvsgraph/distinfo
index 56bbe581103a..f950526c3917 100644
--- a/devel/cvsgraph/distinfo
+++ b/devel/cvsgraph/distinfo
@@ -1 +1 @@
-MD5 (cvsgraph-1.2.0.tar.gz) = ac1bc46e50df09106a210a878ee94452
+MD5 (cvsgraph-1.4.0.tar.gz) = 706f0af002424712feb5b8c8406dcce8
diff --git a/devel/cvsgraph/files/patch-configure.in b/devel/cvsgraph/files/patch-configure.in
deleted file mode 100644
index 82097de1ccdc..000000000000
--- a/devel/cvsgraph/files/patch-configure.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.orig Mon Mar 12 11:50:22 2001
-+++ configure.in Tue Mar 27 02:00:54 2001
-@@ -102,7 +102,7 @@
- dnl Make sure the header is here
- AC_CHECK_HEADER( gd.h,[ have_gd_h="yes" ],[ have_gd_h="no" ])
-
--if test $have_gd_h != "yes"; then
-+if test $have_gd_h = "bogus"; then
- echo
- echo "** The GD library is required for CvsGraph to function."
- echo " Get it from http://www.boutell.com, compile it and"