aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/logtool-devel/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-02-12 00:25:24 +0800
committerijliao <ijliao@FreeBSD.org>2001-02-12 00:25:24 +0800
commit8078b1770fc5c9725b1e6aa19d3470acddde5460 (patch)
treee34a0d8ea853e084e0e05a5cbfcfbaf234d05302 /sysutils/logtool-devel/Makefile
parent304776926e7b9fac577c469673e7219892784594 (diff)
downloadfreebsd-ports-gnome-8078b1770fc5c9725b1e6aa19d3470acddde5460.tar.gz
freebsd-ports-gnome-8078b1770fc5c9725b1e6aa19d3470acddde5460.tar.zst
freebsd-ports-gnome-8078b1770fc5c9725b1e6aa19d3470acddde5460.zip
upgrade to 1.0.5
Diffstat (limited to 'sysutils/logtool-devel/Makefile')
-rw-r--r--sysutils/logtool-devel/Makefile17
1 files changed, 6 insertions, 11 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>