- Update to 12.6

- Move docsdir to avoid conflicts with sysutils/nut
- Respect CC and don't do -Os
This commit is contained in:
Andrew Pantyukhin 2007-07-21 10:48:59 +00:00
parent 9501b905bd
commit e6809a37d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195977
2 changed files with 6 additions and 5 deletions

View file

@ -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/

View file

@ -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