aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2012-04-25 20:41:56 +0800
committerculot <culot@FreeBSD.org>2012-04-25 20:41:56 +0800
commitb0356a84ebf8d04be017d6399e5b01f8bc68ee15 (patch)
tree282dfb18f20c6b75be8bba5443745632ba251a97 /misc
parentdb4413e1b3787d55333854835470cf87dffe0071 (diff)
downloadfreebsd-ports-gnome-b0356a84ebf8d04be017d6399e5b01f8bc68ee15.tar.gz
freebsd-ports-gnome-b0356a84ebf8d04be017d6399e5b01f8bc68ee15.tar.zst
freebsd-ports-gnome-b0356a84ebf8d04be017d6399e5b01f8bc68ee15.zip
- Update to 17.7
- Depend on fltk-1.1.10 instead of 1.3.0 to build the gui front-end, even if 1.1.10 is deprecated and will expire on 2013-01-01: mainstream suggests to do so [1] as nut is not compatible with fltk-1.3.0. This incompatibility should be fixed when fltk-1.3.1 is made available. [1] http://nut.sourceforge.net/README
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