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