Tweak x11-wm/lxsession version 0.4.6.1_2
[dports.git] / x11-wm / libwraster / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       libwraster
4 PORTVERSION=    0.95.7
5 PORTREVISION=   2
6 CATEGORIES=     x11-wm windowmaker
7 MASTER_SITES=   http://windowmaker.org/pub/source/release/
8 DISTNAME=       WindowMaker-${PORTVERSION}
9
10 MAINTAINER=     hrs@FreeBSD.org
11 COMMENT=        Window Maker raster graphics library
12
13 LICENSE=        LGPL21
14
15 LIB_DEPENDS=    libgif.so:graphics/giflib \
16                 libpng.so:graphics/png \
17                 libjbig.so:graphics/jbigkit \
18                 libtiff.so:graphics/tiff \
19                 libwebp.so:graphics/webp \
20                 libMagickWand-6.so:graphics/ImageMagick
21
22 USES=           jpeg libtool pathfix pkgconfig
23 USE_LDCONFIG=   yes
24 USE_XORG=       xft xinerama xmu xpm
25 BUILD_WRKSRC=   ${WRKSRC}/wrlib
26 INSTALL_WRKSRC= ${WRKSRC}/wrlib
27 GNU_CONFIGURE=  yes
28 CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
29                 --with-localedir=${PREFIX}/share/locale \
30                 --with-libs-from="-L${LOCALBASE}/lib" \
31                 --with-incs-from="-I${LOCALBASE}/include" \
32                 --with-gnustepdir="${PREFIX}/GNUstep" \
33                 --enable-modelock \
34                 --enable-xinerama \
35                 --enable-usermenu \
36                 --enable-wmreplace \
37                 --with-x
38 CPPFLAGS+=      -I${LOCALBASE}/include
39 LDFLAGS+=       -L${LOCALBASE}/lib
40 INSTALL_TARGET= install-strip
41
42 pre-build:
43         cd ${WRKSRC} && ${MAKE_CMD} config-paths.h
44
45 post-install:
46         cd ${WRKSRC}/doc && ${INSTALL_MAN} \
47             get-wraster-flags.1 ${STAGEDIR}${MANPREFIX}/man/man1
48
49 .include <bsd.port.mk>