diff options
author | dougb <dougb@FreeBSD.org> | 2009-08-18 04:10:39 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2009-08-18 04:10:39 +0800 |
commit | 4ccc412152759d65e90c782df2e6dc3ea395a072 (patch) | |
tree | f2940252782446805e7f32ca2ea7fcceb62ac24d /x11-wm/libwraster | |
parent | efe047ff0be3de15287c8c63e3340aeed1bb2c83 (diff) | |
download | freebsd-ports-gnome-4ccc412152759d65e90c782df2e6dc3ea395a072.tar.gz freebsd-ports-gnome-4ccc412152759d65e90c782df2e6dc3ea395a072.tar.zst freebsd-ports-gnome-4ccc412152759d65e90c782df2e6dc3ea395a072.zip |
Add a port that installs only libwraster from Window Maker. A lot of
dockapps depend on libwraster but don't need the full WM port.
Diffstat (limited to 'x11-wm/libwraster')
-rw-r--r-- | x11-wm/libwraster/Makefile | 68 | ||||
-rw-r--r-- | x11-wm/libwraster/pkg-descr | 9 |
2 files changed, 77 insertions, 0 deletions
diff --git a/x11-wm/libwraster/Makefile b/x11-wm/libwraster/Makefile new file mode 100644 index 000000000000..2ac524d25200 --- /dev/null +++ b/x11-wm/libwraster/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: libwraster +# Date created: August 17, 2009 +# Whom: dougb@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= libwraster +PORTVERSION= 0.92.0 +CATEGORIES= x11-wm windowmaker +MASTER_SITES= ${MASTER_SITE_WINDOWMAKER} \ + http://dougbarton.us/Downloads/ +MASTER_SITE_SUBDIR= source/release +DISTNAME= WindowMaker-${PORTVERSION} + +MAINTAINER= dougb@FreeBSD.org +COMMENT= libwraster from Window Maker + +LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \ + png.5:${PORTSDIR}/graphics/png \ + tiff.4:${PORTSDIR}/graphics/tiff \ + +MAKE_JOBS_SAFE= yes + +USE_AUTOTOOLS= libtool:22 +USE_BZIP2= yes +USE_GNOME= pkgconfig +USE_XORG= xpm +USE_PERL5= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +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" \ + --disable-debug +USE_LDCONFIG= yes + +PATCHDIR= ${.CURDIR}/../windowmaker/files +MD5_FILE= ${.CURDIR}/../windowmaker/distinfo + +CONFLICTS= windowmaker-0.* + +PLIST_FILES= bin/get-wraster-flags include/wraster.h lib/libwraster.a \ + lib/libwraster.la lib/libwraster.so lib/libwraster.so.4 \ + libdata/pkgconfig/wrlib.pc + +.include <bsd.port.pre.mk> + +.if ${ARCH} == amd64 +CONFIGURE_ENV+= ac_cv_c_inline_asm=no +.endif + +post-patch: + @${CP} ${WRKSRC}/wrlib/Makefile.in ${WRKSRC}/wrlib/Makefile.in.presed + @${SED} -e s#$$\(libdir\)/pkgconfig#${PREFIX}/libdata/pkgconfig#g \ + ${WRKSRC}/wrlib/Makefile.in.presed > ${WRKSRC}/wrlib/Makefile.in + +do-build: + cd ${WRKSRC}/wrlib && ${MAKE} + +do-install: + cd ${WRKSRC}/wrlib && ${MAKE} install + +.include <bsd.port.post.mk> diff --git a/x11-wm/libwraster/pkg-descr b/x11-wm/libwraster/pkg-descr new file mode 100644 index 000000000000..e02f0a401ad2 --- /dev/null +++ b/x11-wm/libwraster/pkg-descr @@ -0,0 +1,9 @@ +This is the libwraster library from x11-wm/windowmaker. + +The purpose of this port is to allow dockapp ports the choice of +depending on the full Window Maker port, or just the library. + +WWW: http://www.windowmaker.info/ + +- Doug Barton +DougB@FreeBSD.org |