diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-02-12 00:25:24 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-02-12 00:25:24 +0800 |
commit | 8078b1770fc5c9725b1e6aa19d3470acddde5460 (patch) | |
tree | e34a0d8ea853e084e0e05a5cbfcfbaf234d05302 | |
parent | 304776926e7b9fac577c469673e7219892784594 (diff) | |
download | freebsd-ports-gnome-8078b1770fc5c9725b1e6aa19d3470acddde5460.tar.gz freebsd-ports-gnome-8078b1770fc5c9725b1e6aa19d3470acddde5460.tar.zst freebsd-ports-gnome-8078b1770fc5c9725b1e6aa19d3470acddde5460.zip |
upgrade to 1.0.5
-rw-r--r-- | sysutils/logtool-devel/Makefile | 17 | ||||
-rw-r--r-- | sysutils/logtool-devel/distinfo | 2 | ||||
-rw-r--r-- | sysutils/logtool-devel/files/patch-aa | 32 | ||||
-rw-r--r-- | sysutils/logtool-devel/files/patch-ad | 13 | ||||
-rw-r--r-- | sysutils/logtool-devel/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/logtool-devel/files/patch-logtool::Makefile.in | 19 | ||||
-rw-r--r-- | sysutils/logtool/Makefile | 17 | ||||
-rw-r--r-- | sysutils/logtool/distinfo | 2 | ||||
-rw-r--r-- | sysutils/logtool/files/patch-aa | 32 | ||||
-rw-r--r-- | sysutils/logtool/files/patch-ad | 13 | ||||
-rw-r--r-- | sysutils/logtool/files/patch-configure | 11 | ||||
-rw-r--r-- | sysutils/logtool/files/patch-logtool::Makefile.in | 19 |
12 files changed, 74 insertions, 114 deletions
diff --git a/sysutils/logtool-devel/Makefile b/sysutils/logtool-devel/Makefile index 0253e77151c5..6d2111b56716 100644 --- a/sysutils/logtool-devel/Makefile +++ b/sysutils/logtool-devel/Makefile @@ -7,7 +7,7 @@ # PORTNAME= logtool -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= sysutils MASTER_SITES= http://users.digitex.net/~max/logtool/ @@ -15,24 +15,19 @@ MAINTAINER= ijliao@FreeBSD.org LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -HAS_CONFIGURE= yes -CONFIGURE_ARGS= default +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=/usr/local --sysconfdir=/usr/local/etc/logtool ALL_TARGET= build -post-patch: -.for file in logtool/Makefile logtail/Makefile - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} -.endfor -.for file in logtool/config.h conf/logtool.conf - @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file} -.endfor +MAN1: logtool.1 post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing logtool docs in ${PREFIX}/share/doc/logtool" @${MKDIR} ${PREFIX}/share/doc/logtool && ${CHMOD} a+rx ${PREFIX}/share/doc/logtool - @${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool + @${CP} -R ${WRKSRC}/doc/examples ${WRKSRC}/doc/logtool.txt ${PREFIX}/share/doc/logtool .endif .include <bsd.port.mk> diff --git a/sysutils/logtool-devel/distinfo b/sysutils/logtool-devel/distinfo index 709a33fe8236..597285aa1b3a 100644 --- a/sysutils/logtool-devel/distinfo +++ b/sysutils/logtool-devel/distinfo @@ -1 +1 @@ -MD5 (logtool-1.0.4.tar.gz) = 6a4da8458f48a4ee787b1c68051daa11 +MD5 (logtool-1.0.5.tar.gz) = 5fb5376725bfccb0bec31fbb054d92ef diff --git a/sysutils/logtool-devel/files/patch-aa b/sysutils/logtool-devel/files/patch-aa deleted file mode 100644 index d48a4d8dc135..000000000000 --- a/sysutils/logtool-devel/files/patch-aa +++ /dev/null @@ -1,32 +0,0 @@ ---- logtool/Makefile.orig Wed Jan 10 08:27:16 2001 -+++ logtool/Makefile Sun Jan 28 22:36:49 2001 -@@ -9,8 +9,8 @@ - csv.o html.o raw.o logtool.o main.o - SRC = logtool.c - # These options affect where logtool gets installed --PREFIX = /usr --ETCDIR = /etc/logtool -+PREFIX = %%PREFIX%% -+ETCDIR = %%PREFIX%%/etc/logtool - CC = gcc - - INSTALL = /usr/bin/install -@@ -18,7 +18,8 @@ - # INSTALL = /usr/ucb/install - - # For RedHat (and most other) Linux'es, this should be ideal --CFLAGS= -Wall -O3 -ansi -pedantic -Werror # -DDEBUG -g # uncomment this for debugging stuff's -+CFLAGS+= -I/usr/local/include -Wall -ansi -pedantic -Werror # -DDEBUG -g # uncomment this for debugging stuff's -+LIBS= -L/usr/local/lib -lgnugetopt - - # For portability to non-linux'es/non-standard-linux'es, try this - # CFLAGS = -Wall -@@ -28,7 +29,7 @@ - - ### The main build stuff - logtool: logtool.o $(OBJS) -- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) -+ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS} - @echo "strip $(PROG)" - @strip $(PROG) - diff --git a/sysutils/logtool-devel/files/patch-ad b/sysutils/logtool-devel/files/patch-ad deleted file mode 100644 index 1aa1f880eccd..000000000000 --- a/sysutils/logtool-devel/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- logtail/Makefile.orig Mon Dec 25 19:24:25 2000 -+++ logtail/Makefile Sun Jan 28 22:40:44 2001 -@@ -1,8 +1,8 @@ - SRC= logtail.c - PROG= logtail - CC= gcc --CFLAGS= -Wall -Werror -O3 -ansi -pedantic --PREFIX=/usr -+CFLAGS+= -Wall -Werror -ansi -pedantic -+PREFIX=%%PREFIX%% - - default: - $(CC) $(CFLAGS) -o $(PROG) $(SRC) diff --git a/sysutils/logtool-devel/files/patch-configure b/sysutils/logtool-devel/files/patch-configure new file mode 100644 index 000000000000..90bf21b57c58 --- /dev/null +++ b/sysutils/logtool-devel/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Feb 12 00:10:54 2001 ++++ configure Mon Feb 12 00:11:16 2001 +@@ -745,7 +745,7 @@ + fi + + if test -n "$GCC"; then +- CFLAGS="-O3 -Wall -Werror -ansi -pedantic" ++ CFLAGS="-ansi -pedantic" + fi + + diff --git a/sysutils/logtool-devel/files/patch-logtool::Makefile.in b/sysutils/logtool-devel/files/patch-logtool::Makefile.in new file mode 100644 index 000000000000..0f0dbffba0c4 --- /dev/null +++ b/sysutils/logtool-devel/files/patch-logtool::Makefile.in @@ -0,0 +1,19 @@ +--- logtool/Makefile.in.orig Sun Feb 11 23:50:38 2001 ++++ logtool/Makefile.in Sun Feb 11 23:54:02 2001 +@@ -16,6 +16,7 @@ + CC = @CC@ + INSTALL = @installprog@ + CFLAGS= @CFLAGS@ @DEFS@ @LIBS@ ++LIBS= -L/usr/local/lib -lgnugetopt + + ### The stuff below is (I hope) no longer needed now that we us autoconf/configure and friends + # Solaris users should probably use the following instead (thanks Christoph Krempe <ck@ub.fu-berlin.de>) +@@ -30,7 +31,7 @@ + + ### The main build stuff + logtool: logtool.o $(OBJS) +- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ++ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS} + @echo "strip $(PROG)" + @strip $(PROG) + diff --git a/sysutils/logtool/Makefile b/sysutils/logtool/Makefile index 0253e77151c5..6d2111b56716 100644 --- a/sysutils/logtool/Makefile +++ b/sysutils/logtool/Makefile @@ -7,7 +7,7 @@ # PORTNAME= logtool -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= sysutils MASTER_SITES= http://users.digitex.net/~max/logtool/ @@ -15,24 +15,19 @@ MAINTAINER= ijliao@FreeBSD.org LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -HAS_CONFIGURE= yes -CONFIGURE_ARGS= default +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=/usr/local --sysconfdir=/usr/local/etc/logtool ALL_TARGET= build -post-patch: -.for file in logtool/Makefile logtail/Makefile - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} -.endfor -.for file in logtool/config.h conf/logtool.conf - @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file} -.endfor +MAN1: logtool.1 post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing logtool docs in ${PREFIX}/share/doc/logtool" @${MKDIR} ${PREFIX}/share/doc/logtool && ${CHMOD} a+rx ${PREFIX}/share/doc/logtool - @${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool + @${CP} -R ${WRKSRC}/doc/examples ${WRKSRC}/doc/logtool.txt ${PREFIX}/share/doc/logtool .endif .include <bsd.port.mk> diff --git a/sysutils/logtool/distinfo b/sysutils/logtool/distinfo index 709a33fe8236..597285aa1b3a 100644 --- a/sysutils/logtool/distinfo +++ b/sysutils/logtool/distinfo @@ -1 +1 @@ -MD5 (logtool-1.0.4.tar.gz) = 6a4da8458f48a4ee787b1c68051daa11 +MD5 (logtool-1.0.5.tar.gz) = 5fb5376725bfccb0bec31fbb054d92ef diff --git a/sysutils/logtool/files/patch-aa b/sysutils/logtool/files/patch-aa deleted file mode 100644 index d48a4d8dc135..000000000000 --- a/sysutils/logtool/files/patch-aa +++ /dev/null @@ -1,32 +0,0 @@ ---- logtool/Makefile.orig Wed Jan 10 08:27:16 2001 -+++ logtool/Makefile Sun Jan 28 22:36:49 2001 -@@ -9,8 +9,8 @@ - csv.o html.o raw.o logtool.o main.o - SRC = logtool.c - # These options affect where logtool gets installed --PREFIX = /usr --ETCDIR = /etc/logtool -+PREFIX = %%PREFIX%% -+ETCDIR = %%PREFIX%%/etc/logtool - CC = gcc - - INSTALL = /usr/bin/install -@@ -18,7 +18,8 @@ - # INSTALL = /usr/ucb/install - - # For RedHat (and most other) Linux'es, this should be ideal --CFLAGS= -Wall -O3 -ansi -pedantic -Werror # -DDEBUG -g # uncomment this for debugging stuff's -+CFLAGS+= -I/usr/local/include -Wall -ansi -pedantic -Werror # -DDEBUG -g # uncomment this for debugging stuff's -+LIBS= -L/usr/local/lib -lgnugetopt - - # For portability to non-linux'es/non-standard-linux'es, try this - # CFLAGS = -Wall -@@ -28,7 +29,7 @@ - - ### The main build stuff - logtool: logtool.o $(OBJS) -- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) -+ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS} - @echo "strip $(PROG)" - @strip $(PROG) - diff --git a/sysutils/logtool/files/patch-ad b/sysutils/logtool/files/patch-ad deleted file mode 100644 index 1aa1f880eccd..000000000000 --- a/sysutils/logtool/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- logtail/Makefile.orig Mon Dec 25 19:24:25 2000 -+++ logtail/Makefile Sun Jan 28 22:40:44 2001 -@@ -1,8 +1,8 @@ - SRC= logtail.c - PROG= logtail - CC= gcc --CFLAGS= -Wall -Werror -O3 -ansi -pedantic --PREFIX=/usr -+CFLAGS+= -Wall -Werror -ansi -pedantic -+PREFIX=%%PREFIX%% - - default: - $(CC) $(CFLAGS) -o $(PROG) $(SRC) diff --git a/sysutils/logtool/files/patch-configure b/sysutils/logtool/files/patch-configure new file mode 100644 index 000000000000..90bf21b57c58 --- /dev/null +++ b/sysutils/logtool/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Feb 12 00:10:54 2001 ++++ configure Mon Feb 12 00:11:16 2001 +@@ -745,7 +745,7 @@ + fi + + if test -n "$GCC"; then +- CFLAGS="-O3 -Wall -Werror -ansi -pedantic" ++ CFLAGS="-ansi -pedantic" + fi + + diff --git a/sysutils/logtool/files/patch-logtool::Makefile.in b/sysutils/logtool/files/patch-logtool::Makefile.in new file mode 100644 index 000000000000..0f0dbffba0c4 --- /dev/null +++ b/sysutils/logtool/files/patch-logtool::Makefile.in @@ -0,0 +1,19 @@ +--- logtool/Makefile.in.orig Sun Feb 11 23:50:38 2001 ++++ logtool/Makefile.in Sun Feb 11 23:54:02 2001 +@@ -16,6 +16,7 @@ + CC = @CC@ + INSTALL = @installprog@ + CFLAGS= @CFLAGS@ @DEFS@ @LIBS@ ++LIBS= -L/usr/local/lib -lgnugetopt + + ### The stuff below is (I hope) no longer needed now that we us autoconf/configure and friends + # Solaris users should probably use the following instead (thanks Christoph Krempe <ck@ub.fu-berlin.de>) +@@ -30,7 +31,7 @@ + + ### The main build stuff + logtool: logtool.o $(OBJS) +- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ++ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS} + @echo "strip $(PROG)" + @strip $(PROG) + |