aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/nut/Makefile8
-rw-r--r--misc/nut/distinfo4
2 files changed, 7 insertions, 5 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index f287eeed984b..dbc967f5af3b 100644
--- a/misc/nut/Makefile
+++ b/misc/nut/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nut
-PORTVERSION= 17.5
+PORTVERSION= 17.7
CATEGORIES= misc
MASTER_SITES= SF
PKGNAMEPREFIX= health-
@@ -34,7 +34,8 @@ PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
.if defined(WITH_GUI)
-LIB_DEPENDS+= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+USE_XORG= xpm
+BUILD_DEPENDS+= ${LOCALBASE}/lib/fltk11/libfltk.so:${PORTSDIR}/x11-toolkits/fltk11
MAKE_ENV+= HAVE_FLTK=1 FLTK_NUT="fltk/Nut"
PLIST_FILES+= bin/Nut
.endif
@@ -48,7 +49,8 @@ post-patch:
s| -O | | ; \
s|^HAVE_FLTK =|#HAVE_FLTK =| ; \
s|^FLTK_NUT =|#FLTK_NUT =| ; \
- s|ldstaticflags|ldflags|'
+ s|ldstaticflags|ldflags| ; \
+ s|fltk-config|${LOCALBASE}/bin/fltk11/fltk-config|'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/misc/nut/distinfo b/misc/nut/distinfo
index be937fb52a52..0c98f1d7a82a 100644
--- a/misc/nut/distinfo
+++ b/misc/nut/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nut-17.5.tar.gz) = a9e11b6192fd572bc3a6b8a9a4a1a96f21db2e68e57fe2c4816cddb96f895292
-SIZE (nut-17.5.tar.gz) = 1315564
+SHA256 (nut-17.7.tar.gz) = b41a9bf1687d6a7ce4a17b1afea19b0976a6828ec423c5b48ce648b80dbb5a5a
+SIZE (nut-17.7.tar.gz) = 1315707