bb89f80c35
- Normalize the ImageMagick library name so it stays the same regardless of what the 16-bit and HDRI option are set to [1]. Teach cmake to look for the new name. Bump ports that link to the libraries due to this. - As a result do away with the "HALFSUPPORTED" option block, and list 16-bit and HDRI with the other options. - ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2 a mandatory dependency (instead of only when the SVG option was selected). - Don't touch .keep files in the modules directory, there files there so it useless. PR: 194949 [1] PR: 195227 [2] Requested by: many [1] Submitted by: software-freebsd@interfasys.ch [2]
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libwraster
|
|
PORTVERSION= 0.95.6
|
|
PORTREVISION= 4
|
|
CATEGORIES= x11-wm windowmaker
|
|
MASTER_SITES= http://windowmaker.org/pub/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= source/release
|
|
DISTNAME= WindowMaker-${PORTVERSION}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Window Maker raster graphics library
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
|
libjbig.so:${PORTSDIR}/graphics/jbigkit \
|
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
libwebp.so:${PORTSDIR}/graphics/webp \
|
|
libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
USES= libtool pathfix pkgconfig
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= xft xinerama xmu xpm
|
|
BUILD_WRKSRC= ${WRKSRC}/wrlib
|
|
INSTALL_WRKSRC= ${WRKSRC}/wrlib
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
|
--with-nlsdir=${PREFIX}/share/locale \
|
|
--with-libs-from="-L${LOCALBASE}/lib" \
|
|
--with-incs-from="-I${LOCALBASE}/include" \
|
|
--with-gnustepdir="${PREFIX}/GNUstep" \
|
|
--enable-modelock \
|
|
--enable-xinerama --enable-usermenu \
|
|
--with-x
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
pre-build:
|
|
cd ${WRKSRC} && ${MAKE_CMD} config-paths.h
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} \
|
|
get-wraster-flags.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|