aboutsummaryrefslogtreecommitdiff
path: root/misc/nut
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-07-21 10:48:59 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-07-21 10:48:59 +0000
commite6809a37d4488aed2b8d25880a1b30ce7e96257b (patch)
treea8e9db182efa1f920c7a941a23baac730724208e /misc/nut
parent9501b905bd9382872b8afbe025cdbd87d15e05fd (diff)
downloadports-e6809a37d4488aed2b8d25880a1b30ce7e96257b.tar.gz
ports-e6809a37d4488aed2b8d25880a1b30ce7e96257b.zip
- Update to 12.6
- Move docsdir to avoid conflicts with sysutils/nut - Respect CC and don't do -Os
Notes
Notes: svn path=/head/; revision=195977
Diffstat (limited to 'misc/nut')
-rw-r--r--misc/nut/Makefile5
-rw-r--r--misc/nut/distinfo6
2 files changed, 6 insertions, 5 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile
index 1299f4dd64a1..1e67689e91fe 100644
--- a/misc/nut/Makefile
+++ b/misc/nut/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nut
-PORTVERSION= 12.5
+PORTVERSION= 12.6
CATEGORIES= misc
MASTER_SITES= http://www.lafn.org/~av832/ CENKES
PKGNAMEPREFIX= health-
@@ -19,6 +19,7 @@ MAN1= ${PORTNAME}.1
USE_BZIP2= yes
USE_GMAKE= yes
PORTDOCS= CREDITS LICENSE README
+DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
ALL_TARGET= ${PORTNAME}
RAW= FOOD_DES.txt NUT_DATA.txt WEIGHT.lib WEIGHT.txt sr19.nut
PLIST_FILES= bin/${PORTNAME} ${RAW:S,^,%%DATADIR%%/,}
@@ -26,7 +27,7 @@ PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local/lib/nut|${DATADIR}|" \
- -e 's|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
+ -e 's|^CFLAGS=|CFLAGS+=|g;s|-Os||;s|gcc|$${CC}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin/
diff --git a/misc/nut/distinfo b/misc/nut/distinfo
index 92a21313e512..46da53271a01 100644
--- a/misc/nut/distinfo
+++ b/misc/nut/distinfo
@@ -1,3 +1,3 @@
-MD5 (nut-12.5.tar.bz2) = 9283268a5103dfad437b82d949f3d86c
-SHA256 (nut-12.5.tar.bz2) = 6b4e1687fedb9fbd48d018f17e35f53e1c459324f06518624cd63396818c8f09
-SIZE (nut-12.5.tar.bz2) = 904610
+MD5 (nut-12.6.tar.bz2) = cb086dd8e71232624c8697642800bc1d
+SHA256 (nut-12.6.tar.bz2) = d51535095d8da08a7c00587bd8fd30d8e63d9109bda076aa7dc88d06d4776ee1
+SIZE (nut-12.6.tar.bz2) = 905867