1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

Update to 1.4.0.

PR:		58103
Submitted by:	Philip M. Gollucci of P6M7G8 Consulting
This commit is contained in:
Trevor Johnson 2003-10-24 12:30:32 +00:00
parent e49d7a6149
commit af49c8ba46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92062
3 changed files with 9 additions and 20 deletions

View File

@ -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}

View File

@ -1 +1 @@
MD5 (cvsgraph-1.2.0.tar.gz) = ac1bc46e50df09106a210a878ee94452
MD5 (cvsgraph-1.4.0.tar.gz) = 706f0af002424712feb5b8c8406dcce8

View File

@ -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"