aboutsummaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-02-21 17:02:20 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-02-21 17:02:20 +0000
commit60021c04f1359b6ad41ee275431d2096b4ba28b8 (patch)
tree676934143182b9143c3a1add07e3c38568fad84f /graphics/libwmf
parent08e5396f8aa93e1f1ddb20c6e9a63967791659d8 (diff)
downloadports-60021c04f1359b6ad41ee275431d2096b4ba28b8.tar.gz
ports-60021c04f1359b6ad41ee275431d2096b4ba28b8.zip
Notes
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/Makefile13
-rw-r--r--graphics/libwmf/pkg-plist2
2 files changed, 11 insertions, 4 deletions
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 66499f43719e..8ef7ed3b7fda 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -14,12 +14,19 @@ MASTER_SITE_SUBDIR= wvware
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
- png.5:${PORTSDIR}/graphics/png \
- freetype.8:${PORTSDIR}/print/freetype2 \
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ png:${PORTSDIR}/graphics/png \
+ freetype:${PORTSDIR}/print/freetype2 \
xml2.5:${PORTSDIR}/textproc/libxml2
+.ifndef (WITHOUT_X11)
USE_XLIB= yes
+PLIST_SUB+= X11=''
+.else
+PKGNAMESUFFIX= -nox11
+PLIST_SUB+= X11='@comment '
+.endif
+
GNU_CONFIGURE= yes
CONFIGURE_TARGET= # none
CONFIGURE_ARGS= --build=${ARCH}-portbld-freebsd${OSREL} \
diff --git a/graphics/libwmf/pkg-plist b/graphics/libwmf/pkg-plist
index d3eed90124fd..8530fa8467e2 100644
--- a/graphics/libwmf/pkg-plist
+++ b/graphics/libwmf/pkg-plist
@@ -5,7 +5,7 @@ bin/wmf2fig
bin/wmf2gd
bin/wmf2magick
bin/wmf2svg
-bin/wmf2x
+%%X11%%bin/wmf2x
include/libwmf/api.h
include/libwmf/color.h
include/libwmf/defs.h