diff options
author | nork <nork@FreeBSD.org> | 2003-07-16 12:32:01 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-07-16 12:32:01 +0800 |
commit | 33ce371874f52811385c52e07368b1539fef8774 (patch) | |
tree | d50ee12162367fa25732ba6fea2c6f54a9d4db4a /graphics/scr2png | |
parent | ce5ffb146e31b85c6ba076c9d9d179104ec47895 (diff) | |
download | freebsd-ports-gnome-33ce371874f52811385c52e07368b1539fef8774.tar.gz freebsd-ports-gnome-33ce371874f52811385c52e07368b1539fef8774.tar.zst freebsd-ports-gnome-33ce371874f52811385c52e07368b1539fef8774.zip |
Adaptive dependency on graphics/gd, graphics/gd-nox11.
Requested by: ceri
Diffstat (limited to 'graphics/scr2png')
-rw-r--r-- | graphics/scr2png/Makefile | 10 |
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> |