aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/flog/Makefile15
-rw-r--r--sysutils/flog/distinfo4
-rw-r--r--sysutils/flog/pkg-plist2
3 files changed, 13 insertions, 8 deletions
diff --git a/sysutils/flog/Makefile b/sysutils/flog/Makefile
index 9efc460dfe50..77029a5b38a3 100644
--- a/sysutils/flog/Makefile
+++ b/sysutils/flog/Makefile
@@ -6,20 +6,27 @@
#
PORTNAME= flog
-PORTVERSION= 1.3
+PORTVERSION= 1.5
CATEGORIES= sysutils
-MASTER_SITES= http://oss.ezic.com/flog/
+MASTER_SITES= http://oss.ezic.com/flog/ \
+ ftp://ftp.nuug.no/pub/anders/distfiles/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= anders@FreeBSD.org
COMMENT= A small STDIN-to-file logger with support for log rotation
+USE_REINPLACE= yes
+PORTDOCS= README
+
+post-patch:
+ ${REINPLACE_CMD} -e "s@|O_LARGEFILE@@" ${WRKSRC}/flog.c
+
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/flog ${WRKSRC}/flog.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flog ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL} -d -m 0755 ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
diff --git a/sysutils/flog/distinfo b/sysutils/flog/distinfo
index 5e12d5064fe4..cec223a4c7de 100644
--- a/sysutils/flog/distinfo
+++ b/sysutils/flog/distinfo
@@ -1,2 +1,2 @@
-MD5 (flog-1.3.tar.gz) = cc97339bd757a651558438463c5f2721
-SIZE (flog-1.3.tar.gz) = 2769
+MD5 (flog-1.5.tar.gz) = 8cc56ff46d5189b651d91e020296b8c5
+SIZE (flog-1.5.tar.gz) = 2965
diff --git a/sysutils/flog/pkg-plist b/sysutils/flog/pkg-plist
index 836656ea493a..23d06a034139 100644
--- a/sysutils/flog/pkg-plist
+++ b/sysutils/flog/pkg-plist
@@ -1,3 +1 @@
bin/flog
-%%PORTDOCS%%share/doc/flog/README
-%%PORTDOCS%%@dirrm share/doc/flog