2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Bill Fumerola <billf@chc-chimes.com>
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-08-10 02:12:43 +02:00
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= g2
|
|
|
|
PORTVERSION= 0.40
|
2013-08-09 16:05:52 +02:00
|
|
|
PORTREVISION= 9
|
1998-08-10 02:12:43 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= libs/graphics
|
|
|
|
|
2006-03-18 23:21:52 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= Easy to use, portable, and powerful 2D graphics library
|
1998-08-10 02:12:43 +02:00
|
|
|
|
2014-04-27 14:21:10 +02:00
|
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
1998-08-10 02:12:43 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
1998-11-09 02:17:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
1998-11-09 02:17:15 +01:00
|
|
|
|
2014-04-27 14:21:10 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
1998-08-10 02:12:43 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} ; make depend ; make
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|