aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/libwraster
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-05-02 19:37:23 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-05-02 19:37:23 +0000
commit4968fc407a1a6ed58455461bdc503b41936a8e85 (patch)
treea0b91162649e023641b2e037a417667a8898156a /x11-wm/libwraster
parentf10c69221922fb70167df2ad002157d8f692a977 (diff)
downloadports-4968fc407a1a6ed58455461bdc503b41936a8e85.tar.gz
ports-4968fc407a1a6ed58455461bdc503b41936a8e85.zip
Notes
Diffstat (limited to 'x11-wm/libwraster')
-rw-r--r--x11-wm/libwraster/Makefile42
-rw-r--r--x11-wm/libwraster/distinfo2
-rw-r--r--x11-wm/libwraster/pkg-plist1
3 files changed, 33 insertions, 12 deletions
diff --git a/x11-wm/libwraster/Makefile b/x11-wm/libwraster/Makefile
index e92043b68089..959da5ab1ce6 100644
--- a/x11-wm/libwraster/Makefile
+++ b/x11-wm/libwraster/Makefile
@@ -1,30 +1,48 @@
# $FreeBSD$
PORTNAME= libwraster
-PORTREVISION= 0
-
+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
-MASTERDIR= ${.CURDIR}/../windowmaker
+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
-
-PATCHDIR= # To void equivalent in master port
-DESCR= ${.CURDIR}/pkg-descr
-PLIST= ${.CURDIR}/pkg-plist
+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
-LWR_SLAVE= yes
-
pre-build:
cd ${WRKSRC} && ${MAKE} config-paths.h
post-install:
- (cd ${WRKSRC}/doc \
- && ${INSTALL_MAN} get-wraster-flags.1 ${MANPREFIX}/man/man1)
+ cd ${WRKSRC}/doc \
+ && ${INSTALL_MAN} get-wraster-flags.1 ${MANPREFIX}/man/man1
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>
diff --git a/x11-wm/libwraster/distinfo b/x11-wm/libwraster/distinfo
new file mode 100644
index 000000000000..20c61534cd6b
--- /dev/null
+++ b/x11-wm/libwraster/distinfo
@@ -0,0 +1,2 @@
+SHA256 (WindowMaker-0.95.4.tar.gz) = 2bea97f00570f05ff115d147457c16abefe496a4fc882a027152ce592d768e45
+SIZE (WindowMaker-0.95.4.tar.gz) = 2789390
diff --git a/x11-wm/libwraster/pkg-plist b/x11-wm/libwraster/pkg-plist
index 5c882105b3cc..7bbed37683c3 100644
--- a/x11-wm/libwraster/pkg-plist
+++ b/x11-wm/libwraster/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/get-wraster-flags
include/wraster.h
lib/libwraster.a