aboutsummaryrefslogtreecommitdiff
path: root/graphics/scr2png
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-07-16 04:32:01 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-07-16 04:32:01 +0000
commit2d12ee7f2683a7631e46e7058d875671bada6e28 (patch)
tree1e93998e331df8a3b5cc54964b88ffa2fd132bfc /graphics/scr2png
parent30e2d125b314a0bcbf30f47bd76db968e84cc1b1 (diff)
downloadports-2d12ee7f2683a7631e46e7058d875671bada6e28.tar.gz
ports-2d12ee7f2683a7631e46e7058d875671bada6e28.zip
Adaptive dependency on graphics/gd, graphics/gd-nox11.
Requested by: ceri
Notes
Notes: svn path=/head/; revision=84955
Diffstat (limited to 'graphics/scr2png')
-rw-r--r--graphics/scr2png/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index 869047f80769..c0fb1ebb3853 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scr2png
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -17,7 +17,13 @@ NO_WRKSUBDIR= yes
MAINTAINER= nik@freebsd.org
COMMENT= Converts the output of "vidcontrol -p" to PNG
+.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_X11)
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
+.else
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd-nox11
+.else
+.endif
USE_REINPLACE= yes
@@ -31,4 +37,4 @@ post-extract:
do-install:
@cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>