aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-07-21 18:48:59 +0800
committersat <sat@FreeBSD.org>2007-07-21 18:48:59 +0800
commitf0adfe5390374c2074dfdcbe6ac39accc7dc3597 (patch)
treeb337b9ed6738af158cc07aade348ccdaceff5f34 /misc
parente8101b4196161123a47f471046073380dac0c2b8 (diff)
downloadfreebsd-ports-graphics-f0adfe5390374c2074dfdcbe6ac39accc7dc3597.tar.gz
freebsd-ports-graphics-f0adfe5390374c2074dfdcbe6ac39accc7dc3597.tar.zst
freebsd-ports-graphics-f0adfe5390374c2074dfdcbe6ac39accc7dc3597.zip
- Update to 12.6
- Move docsdir to avoid conflicts with sysutils/nut - Respect CC and don't do -Os
Diffstat (limited to 'misc')
-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 1299f4dd64a..1e67689e91f 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 92a21313e51..46da53271a0 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