diff options
author | krion <krion@FreeBSD.org> | 2004-08-07 15:05:51 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-07 15:05:51 +0800 |
commit | d8fdd06d6ea435b93e06e05914a5797bbdf8511b (patch) | |
tree | cef09bd6e2971d57577f3667bb4c7f352117d0d1 /misc | |
parent | 56ce919204644051cae23d1405aa3196f7f933bc (diff) | |
download | freebsd-ports-gnome-d8fdd06d6ea435b93e06e05914a5797bbdf8511b.tar.gz freebsd-ports-gnome-d8fdd06d6ea435b93e06e05914a5797bbdf8511b.tar.zst freebsd-ports-gnome-d8fdd06d6ea435b93e06e05914a5797bbdf8511b.zip |
Update to 10.0
Diffstat (limited to 'misc')
-rw-r--r-- | misc/nut/Makefile | 9 | ||||
-rw-r--r-- | misc/nut/distinfo | 4 | ||||
-rw-r--r-- | misc/nut/files/patch-Makefile | 13 | ||||
-rw-r--r-- | misc/nut/pkg-plist | 2 |
4 files changed, 8 insertions, 20 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile index 63ae5c443e6e..be44ef9827c5 100644 --- a/misc/nut/Makefile +++ b/misc/nut/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nut -PORTVERSION= 9.20 +PORTVERSION= 10.0 CATEGORIES= misc MASTER_SITES= http://www.lafn.org/~av832/ PKGNAMEPREFIX= health- @@ -18,10 +18,11 @@ MAN1= nut.1 USE_GMAKE= yes USE_REINPLACE= yes +ALL_TARGET= ${PORTNAME} post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin @@ -30,7 +31,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/raw.data/NUT_DATA.txt ${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/raw.data/WEIGHT.lib ${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/raw.data/WEIGHT.txt ${PREFIX}/etc/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/raw.data/sr16-1.nut ${PREFIX}/etc/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/raw.data/sr17.nut ${PREFIX}/etc/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/nut.1 ${MANPREFIX}/man/man1 post-install: diff --git a/misc/nut/distinfo b/misc/nut/distinfo index 5b431f16da95..546c599f8276 100644 --- a/misc/nut/distinfo +++ b/misc/nut/distinfo @@ -1,2 +1,2 @@ -MD5 (nut-9.20.tar.gz) = d69017a4349343ae615fee3794edb8e4 -SIZE (nut-9.20.tar.gz) = 998199 +MD5 (nut-10.0.tar.gz) = 0bfb773171d51ae4f690c3141e1b677d +SIZE (nut-10.0.tar.gz) = 1019138 diff --git a/misc/nut/files/patch-Makefile b/misc/nut/files/patch-Makefile deleted file mode 100644 index 069527271f9e..000000000000 --- a/misc/nut/files/patch-Makefile +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.orig Tue Apr 29 05:48:48 2003 -+++ Makefile Sun May 4 05:50:02 2003 -@@ -1,8 +1,8 @@ - objects := $(patsubst %.c,%.o,$(wildcard *.c)) - --CFLAGS= -O3 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/lib/nut\" -+CFLAGS+= -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"%%PREFIX%%/etc/nut\" - --nut: $(objects) -+all: $(objects) - gcc ${CFLAGS} -lm -o nut $(objects) - strip nut - diff --git a/misc/nut/pkg-plist b/misc/nut/pkg-plist index 6db784dfc89d..9428865a3a8c 100644 --- a/misc/nut/pkg-plist +++ b/misc/nut/pkg-plist @@ -3,7 +3,7 @@ etc/nut/FOOD_DES.txt etc/nut/NUT_DATA.txt etc/nut/WEIGHT.lib etc/nut/WEIGHT.txt -etc/nut/sr16-1.nut +etc/nut/sr17.nut %%PORTDOCS%%%%DOCSDIR%%/README @dirrm etc/nut %%PORTDOCS%%@dirrm %%DOCSDIR%% |