summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2019-12-13 16:47:45 +0000
committerJason Helfman <jgh@FreeBSD.org>2019-12-13 16:47:45 +0000
commit0dd8b3fd00695caea9aa78deeb588153038f9dde (patch)
tree1ddf9d95080539df0322b44fe158216f43c1ca50 /x11/xlockmore
parentUpdate to 20191213. (diff)
- update to 5.61
- enable ttf [1] PR: 241175 [1] Reported by: vermaden@interia.pl [1]
Notes
Notes: svn path=/head/; revision=520055
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile14
-rw-r--r--x11/xlockmore/distinfo6
2 files changed, 13 insertions, 7 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index bfa1e012f9b6..3e433ddc2953 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xlockmore
-PORTVERSION= 5.59
-PORTREVISION= 1
+PORTVERSION= 5.61
CATEGORIES= x11
MASTER_SITES= http://www.sillycycle.com/xlock/ \
SF/bsdsrc/${.CURDIR:T}
@@ -18,7 +17,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2
USES= tar:xz xorg
USE_XORG= ice sm x11 xaw xext xpm
-CONFIGURE_ARGS= --without-motif --without-ttf --without-editres \
+CONFIGURE_ARGS= --without-motif --without-editres \
--without-dtsaver --without-rplay --without-nas \
--without-gtk --without-esound --disable-setuid \
--disable-kerberos4
@@ -27,7 +26,7 @@ PORTDOCS= README ${PORTNAME}.README
OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \
KERBEROS5 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK JP \
- XINERAMA DOCS
+ XINERAMA DOCS FREETYPE
OPTIONS_RADIO= ONE
OPTIONS_RADIO_ONE= PAM XLOCK_GROUP
OPTIONS_DEFAULT= MB XINERAMA
@@ -86,9 +85,16 @@ GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libpng16.so:graphics/png
GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20
GTK2_USES= gnome pkgconfig
+FREETYPE_CONFIGURE_WITH= ttf
+FREETYPE_LIB_DEPENDS= libgltt.so:graphics/gltt
+FREETYPE_CFLAGS= -I${LOCALBASE}/include/gltt
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MFREETYPE}
+IGNORE_FreeBSD_11= FREETYPE support requires FreeBSD version 12+
+.endif
+
.if defined(XLOCKMORE_LANG)
CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG}
.endif
diff --git a/x11/xlockmore/distinfo b/x11/xlockmore/distinfo
index 09ed85f4aeba..398e2ec276de 100644
--- a/x11/xlockmore/distinfo
+++ b/x11/xlockmore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1570202828
-SHA256 (xlockmore-5.59.tar.xz) = 2d2a6855ecdeee4856ace76acf615d3b2e48303951bb5fd31a234e4a54615251
-SIZE (xlockmore-5.59.tar.xz) = 1935296
+TIMESTAMP = 1576096747
+SHA256 (xlockmore-5.61.tar.xz) = 6a5b1aebc1f62209b4f342497b21023b486e11412c4de7a9e71c2a7899d35c04
+SIZE (xlockmore-5.61.tar.xz) = 1936312