blob: 959da5ab1ce6556f7e7da9b45d58df2d1cfcab6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $FreeBSD$
PORTNAME= libwraster
PORTVERSION= 0.95.4
PORTREVISION= 1
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= gif:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png \
jbig:${PORTSDIR}/graphics/jbigkit \
tiff:${PORTSDIR}/graphics/tiff
USES= pathfix pkgconfig
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
USE_XORG= xft xinerama xmu xpm
BUILD_WRKSRC= ${WRKSRC}/wrlib
INSTALL_WRKSRC= ${WRKSRC}/wrlib
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
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -DPREFIX=\\\"${PREFIX}\\\" -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= get-wraster-flags.1
pre-build:
cd ${WRKSRC} && ${MAKE} config-paths.h
post-install:
cd ${WRKSRC}/doc \
&& ${INSTALL_MAN} get-wraster-flags.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
|