2009-08-17 22:10:39 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libwraster
|
2015-10-06 07:12:56 +02:00
|
|
|
PORTVERSION= 0.95.7
|
2016-04-01 13:17:54 +02:00
|
|
|
PORTREVISION= 2
|
2013-05-02 21:37:23 +02:00
|
|
|
CATEGORIES= x11-wm windowmaker
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= http://windowmaker.org/pub/source/release/
|
2013-05-02 21:37:23 +02:00
|
|
|
DISTNAME= WindowMaker-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2013-02-08 03:09:40 +01:00
|
|
|
COMMENT= Window Maker raster graphics library
|
|
|
|
|
|
|
|
LICENSE= LGPL21
|
2009-08-17 22:10:39 +02:00
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
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
|
2009-08-17 22:10:39 +02:00
|
|
|
|
2015-10-06 07:12:56 +02:00
|
|
|
USES= jpeg libtool pathfix pkgconfig
|
2013-05-02 21:37:23 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_XORG= xft xinerama xmu xpm
|
2013-02-08 03:09:40 +01:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/wrlib
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/wrlib
|
2014-06-29 23:45:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-05-02 21:37:23 +02:00
|
|
|
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
|
2015-10-06 07:12:56 +02:00
|
|
|
--with-localedir=${PREFIX}/share/locale \
|
2013-05-02 21:37:23 +02:00
|
|
|
--with-libs-from="-L${LOCALBASE}/lib" \
|
|
|
|
--with-incs-from="-I${LOCALBASE}/include" \
|
|
|
|
--with-gnustepdir="${PREFIX}/GNUstep" \
|
|
|
|
--enable-modelock \
|
2015-10-06 07:12:56 +02:00
|
|
|
--enable-xinerama \
|
|
|
|
--enable-usermenu \
|
|
|
|
--enable-wmreplace \
|
2013-05-02 21:37:23 +02:00
|
|
|
--with-x
|
2014-06-29 23:45:03 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2013-05-02 21:37:23 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2014-09-05 00:48:56 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2009-08-17 22:10:39 +02:00
|
|
|
|
2013-02-08 03:09:40 +01:00
|
|
|
pre-build:
|
2014-06-29 23:45:03 +02:00
|
|
|
cd ${WRKSRC} && ${MAKE_CMD} config-paths.h
|
2009-08-17 22:10:39 +02:00
|
|
|
|
2013-02-08 03:09:40 +01:00
|
|
|
post-install:
|
2013-12-02 08:16:31 +01:00
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_MAN} \
|
|
|
|
get-wraster-flags.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2009-08-17 22:10:39 +02:00
|
|
|
|
2013-05-02 21:37:23 +02:00
|
|
|
.include <bsd.port.mk>
|