1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 12.7

- Style nits
This commit is contained in:
Andrew Pantyukhin 2007-08-09 22:52:13 +00:00
parent 32b058ecc4
commit 946180661a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197400
2 changed files with 15 additions and 16 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= nut
PORTVERSION= 12.6
PORTVERSION= 12.7
CATEGORIES= misc
MASTER_SITES= http://www.lafn.org/~av832/ CENKES
PKGNAMEPREFIX= health-
@ -14,29 +14,28 @@ PKGNAMEPREFIX= health-
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Nutrition software to record what you eat
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%%/,}
PLIST_DIRS= %%DATADIR%%
PORTDATA= FOOD_DES.txt NUT_DATA.txt WEIGHT.lib WEIGHT.txt sr19.nut
PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
.undef NOPORTDATA
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local/lib/nut|${DATADIR}|" \
-e 's|^CFLAGS=|CFLAGS+=|g;s|-Os||;s|gcc|$${CC}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL} -d ${DATADIR}
${INSTALL_DATA} ${RAW:S,^,${WRKSRC}/raw.data/,} ${DATADIR}/
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
${INSTALL} -d ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL} -d ${DATADIR}/
@cd ${WRKSRC}/raw.data/&&${INSTALL_DATA} ${PORTDATA} ${DATADIR}/
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (nut-12.6.tar.bz2) = cb086dd8e71232624c8697642800bc1d
SHA256 (nut-12.6.tar.bz2) = d51535095d8da08a7c00587bd8fd30d8e63d9109bda076aa7dc88d06d4776ee1
SIZE (nut-12.6.tar.bz2) = 905867
MD5 (nut-12.7.tar.bz2) = cce6eafe488caf531705b1b22b0cf778
SHA256 (nut-12.7.tar.bz2) = d6c03e51fae2226e8310047d3dafe83d1d389c5505415fbad4da043805269a6e
SIZE (nut-12.7.tar.bz2) = 915193