aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2012-04-25 12:41:56 +0000
committerFrederic Culot <culot@FreeBSD.org>2012-04-25 12:41:56 +0000
commit56c25d427946ea5712c077b83d3a0450399e212e (patch)
treebc7a53229dd6d745d4b2c8a77647acf219ab28d9 /misc
parent2024594afe783cb3b1554f0a1dea4775bd7e1433 (diff)
downloadports-56c25d427946ea5712c077b83d3a0450399e212e.tar.gz
ports-56c25d427946ea5712c077b83d3a0450399e212e.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
Notes
Notes: svn path=/head/; revision=295493
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