1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/x11-wm/libwraster/Makefile
Koop Mast 704ab44ef9 ImageMagick to 6.9.9-15.
* Disable FPX (FlashPix) support by default. This image format is really
  rare these days coupled with that there are known CVE's in libfpx and
  it doesn't seem to be maintained these days. It doesn't make sense to
  keep it enabled by default anymore. [1]
* Add new option for RAW support
* Fix portscout macro to only show 6.9.x versions

Bump other ports for the shared library bumps in IM 6.

PR:		222309 [1]
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru> [1]
2017-09-28 15:36:31 +00:00

50 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= libwraster
PORTVERSION= 0.95.7
PORTREVISION= 5
CATEGORIES= x11-wm windowmaker
MASTER_SITES= http://windowmaker.org/pub/source/release/
DISTNAME= WindowMaker-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Window Maker raster graphics library
LICENSE= LGPL21
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png \
libjbig.so:graphics/jbigkit \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp \
libMagickWand-6.so:graphics/ImageMagick
USES= jpeg 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-localedir=${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 \
--enable-wmreplace \
--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>