aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-27 20:21:10 +0800
committerpawel <pawel@FreeBSD.org>2014-04-27 20:21:10 +0800
commitd25dfcdfb343879b761408b51d9995699a6a268c (patch)
tree1bc9489914558bc9ea22a51e484239c60f6b980f /graphics
parentb3477f5e94e492e6cdec72a658f672ec50ee58cf (diff)
downloadfreebsd-ports-gnome-d25dfcdfb343879b761408b51d9995699a6a268c.tar.gz
freebsd-ports-gnome-d25dfcdfb343879b761408b51d9995699a6a268c.tar.zst
freebsd-ports-gnome-d25dfcdfb343879b761408b51d9995699a6a268c.zip
- Add staging support
- Convert to new LIB_DEPENDS format
Diffstat (limited to 'graphics')
-rw-r--r--graphics/g2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index 6510c92c62d7..de9e7bcb1b0f 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -11,13 +11,16 @@ MASTER_SITE_SUBDIR= libs/graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Easy to use, portable, and powerful 2D graphics library
-LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
USE_XORG= x11
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} -E 's,(INC|LIB)DIR),DESTDIR)$$(&,g' \
+ ${WRKSRC}/Makefile.in
+
do-build:
cd ${WRKSRC} ; make depend ; make