diff options
author | mi <mi@FreeBSD.org> | 2002-02-22 01:02:20 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-02-22 01:02:20 +0800 |
commit | ecef192e78df359ab9319b15cbf8b2478c8c895d (patch) | |
tree | faccd8cf2010b06a180ef0fb108845bcc13bbf6a /graphics | |
parent | 2dec331692e8e30b9c88ffa8bb0d9ff685ea6af0 (diff) | |
download | freebsd-ports-gnome-ecef192e78df359ab9319b15cbf8b2478c8c895d.tar.gz freebsd-ports-gnome-ecef192e78df359ab9319b15cbf8b2478c8c895d.tar.zst freebsd-ports-gnome-ecef192e78df359ab9319b15cbf8b2478c8c895d.zip |
Obey the WITHOUT_X11 knob. One utility -- wmf2x is not installed in this
case, and USE_XLIB will not be defined, which will result in the
LOCALBASE for PREFIX. LOCALBASE should, probably, be used in both cases,
but libwmf-config is giving the right values... Also the -nox11 suffix
is added to the package name in the WITHOUT_X11 case.
Ignore the major numbers of -lfreetype, -ljpg, and -lpng -- the software
will work with any reasonably recent version. I'm not sure about -lxml2,
so I left that alone.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libwmf/Makefile | 13 | ||||
-rw-r--r-- | graphics/libwmf/pkg-plist | 2 |
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 |