ports/172246: misc/nut: Update to version 18.0
KATO Tsuguru
tkato432 at yahoo.com
Mon Oct 1 18:10:14 UTC 2012
>Number: 172246
>Category: ports
>Synopsis: misc/nut: Update to version 18.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 01 18:10:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 18.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/misc/nut/Makefile misc/nut/Makefile
--- /usr/ports/misc/nut/Makefile 2012-09-25 20:16:05.000000000 +0900
+++ misc/nut/Makefile 2012-09-30 21:18:50.000000000 +0900
@@ -2,7 +2,7 @@
# $FreeBSD: ports/misc/nut/Makefile,v 1.105 2012/09/25 11:16:05 culot Exp $
PORTNAME= nut
-PORTVERSION= 17.12
+PORTVERSION= 18.0
CATEGORIES= misc
MASTER_SITES= SF
PKGNAMEPREFIX= health-
@@ -12,31 +12,29 @@
LICENSE= GPLv2 # (or later)
-USE_GMAKE= yes
-MAKE_JOBS_SAFE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
+USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
-.if ${PORT_OPTIONS:MDOCS}
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
-PORTDOCS= CREDITS README nut.html
-.endif
MAN1= ${PORTNAME}.1
+PORTDOCS= CREDITS README nut.html
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/FOOD_DES.txt \
%%DATADIR%%/NUT_DATA.txt %%DATADIR%%/WEIGHT.lib \
- %%DATADIR%%/WEIGHT.txt %%DATADIR%%/sr24.nut
+ %%DATADIR%%/WEIGHT.txt %%DATADIR%%/sr25.nut
PLIST_DIRS= %%DATADIR%%
+.include <bsd.port.options.mk>
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(prefix)/lib/nut|${DATADIR}| ; \
s|^CC =|CC ?=| ; \
s|^CXX =|CXX ?=| ; \
s|^CFLAGS :=|CFLAGS +=| ; \
- s| -O | | ; \
+ s|$$(OPT)|| ; \
s|ldstaticflags|ldflags| '
do-install:
diff -urN /usr/ports/misc/nut/distinfo misc/nut/distinfo
--- /usr/ports/misc/nut/distinfo 2012-09-25 20:16:05.000000000 +0900
+++ misc/nut/distinfo 2012-09-30 20:49:13.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (nut-17.12.tar.gz) = b2fbaa92cbb0351efc4b9a679c6fddb31ba56dd87c798fafecff12d21bb7d669
-SIZE (nut-17.12.tar.gz) = 1274051
+SHA256 (nut-18.0.tar.gz) = 3bba7386686e36735465aa2f95d73c28d808717fed80d3618ac9bb6baeb3cb4d
+SIZE (nut-18.0.tar.gz) = 1301699
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list