aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/jwm
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-12 09:39:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-12 09:39:19 +0000
commit1f9270b0bc803581e176fc526f72bd46d6f2cc14 (patch)
tree30c4f47c6d9506bd4b43001a86ace7628059cd87 /x11-wm/jwm
parentc5b1367b7884b82ba340104e77268bf8f549c3c2 (diff)
downloadports-1f9270b0bc803581e176fc526f72bd46d6f2cc14.tar.gz
ports-1f9270b0bc803581e176fc526f72bd46d6f2cc14.zip
Reassign to the heap as maintainer no longer use FreeBSD
While here: Use options helpers where possible Submitted by: Michael Brune <admin@mjbrune.org> (former maintainer via pkg-fallout)
Notes
Notes: svn path=/head/; revision=327046
Diffstat (limited to 'x11-wm/jwm')
-rw-r--r--x11-wm/jwm/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/x11-wm/jwm/Makefile b/x11-wm/jwm/Makefile
index e921166d9c65..d9ba2d38140a 100644
--- a/x11-wm/jwm/Makefile
+++ b/x11-wm/jwm/Makefile
@@ -7,12 +7,12 @@ PORTREVISION= 4
CATEGORIES= x11-wm
MASTER_SITES= SF http://joewing.net/programs/jwm/releases/
-MAINTAINER= admin@mjbrune.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Joe's Window Manager
LICENSE= GPLv2
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USES= pkgconfig
USE_XORG= xpm
@@ -28,11 +28,11 @@ OPTIONS_DEFINE= FRIBIDI XFT XINERAMA JPEG DEBUG
OPTIONS_DEFAULT= FRIBIDI XFT XINERAMA JPEG
DEBUG_DESC= Enable debugging
-.include <bsd.port.options.mk>
+FRIBIDI_BUILD_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi
+JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
+DEBUG_CONFIGURE_ON= --enable-debug
-.if ${PORT_OPTIONS:MFRIBIDI}
-BUILD_DEPENDS+= fribidi:${PORTSDIR}/converters/fribidi
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXFT}
USE_XORG+= xft
@@ -42,14 +42,6 @@ USE_XORG+= xft
USE_XORG+= xinerama
.endif
-.if ${PORT_OPTIONS:MJPEG}
-LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/example.jwmrc