aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/jwm
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-12 17:39:19 +0800
committerbapt <bapt@FreeBSD.org>2013-09-12 17:39:19 +0800
commit83c7c862253c02f1db5dd7db7a482c0c984fa300 (patch)
tree30c4f47c6d9506bd4b43001a86ace7628059cd87 /x11-wm/jwm
parent42f9fd27207fb2579e4f4e6f7d0e3b36f4cf936f (diff)
downloadfreebsd-ports-gnome-83c7c862253c02f1db5dd7db7a482c0c984fa300.tar.gz
freebsd-ports-gnome-83c7c862253c02f1db5dd7db7a482c0c984fa300.tar.zst
freebsd-ports-gnome-83c7c862253c02f1db5dd7db7a482c0c984fa300.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)
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