summaryrefslogtreecommitdiff
path: root/graphics/g2
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-11-09 01:17:15 +0000
committerSteve Price <steve@FreeBSD.org>1998-11-09 01:17:15 +0000
commit32f7d7d09ceddb9f169fc76a5cea037e7bd9fdc9 (patch)
tree2285219967a7334b8334051013dad5327c45aa9f /graphics/g2
parentUpdate to version 1.6.1. (diff)
Update to version 0.30.
PR: 8581 Submitted by: maintainer
Diffstat (limited to 'graphics/g2')
-rw-r--r--graphics/g2/Makefile16
-rw-r--r--graphics/g2/distinfo2
-rw-r--r--graphics/g2/files/patch-aa11
3 files changed, 13 insertions, 16 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index 0ca5c89ca5f9..f45a68f82688 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: g2
-# Version required: 0.23
+# Version required: 0.30
# Date created: 16 July 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/08/10 00:12:43 steve Exp $
#
-DISTNAME= g2-0.23
+DISTNAME= g2-0.30
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs/graphics
@@ -15,7 +15,15 @@ MAINTAINER= billf@chc-chimes.com
BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
-USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${PREFIX}/include/gd"
+
+post-patch:
+
+ ${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.pre_sed
+ ${CAT} ${WRKSRC}/Makefile.in.pre_sed | \
+ ${SED} -e 's#DIR = /usr#DIR = ${PREFIX}#g' \
+ >> ${WRKSRC}/Makefile.in
do-build:
cd ${WRKSRC} ; make depend ; make
diff --git a/graphics/g2/distinfo b/graphics/g2/distinfo
index 4e9abfbf260a..e0596d4e38b1 100644
--- a/graphics/g2/distinfo
+++ b/graphics/g2/distinfo
@@ -1 +1 @@
-MD5 (g2-0.23.tar.gz) = cb8b1c63be70235cc8490da1a1e83c0c
+MD5 (g2-0.30.tar.gz) = 8de31533b8eb5a4bb61005d631d99b55
diff --git a/graphics/g2/files/patch-aa b/graphics/g2/files/patch-aa
index ad1232268533..4a2928453f5e 100644
--- a/graphics/g2/files/patch-aa
+++ b/graphics/g2/files/patch-aa
@@ -1,16 +1,5 @@
--- Makefile.in.old Mon Jul 27 13:12:08 1998
+++ Makefile.in Mon Jul 27 13:15:39 1998
-@@ -7,8 +7,8 @@
- #
- # g2 installation directories
- #
--LIBDIR = /usr/lib
--INCDIR = /usr/include
-+LIBDIR = /usr/local/lib
-+INCDIR = /usr/local/include
-
- #LIBDIR = $(HOME)/local/lib
- #INCDIR = $(HOME)/local/include
@@ -25,7 +25,7 @@
FIND = @FIND@
MAKEDEPEND = @MAKEDEPEND@