diff options
author | nbm <nbm@FreeBSD.org> | 2000-09-23 22:59:10 +0800 |
---|---|---|
committer | nbm <nbm@FreeBSD.org> | 2000-09-23 22:59:10 +0800 |
commit | 07cd0a1f4eccaad9840a9d39cfcc2bc90e9fb07e (patch) | |
tree | 2a09191bbcb816237d1c645b901b857a0706a668 /net/iplog/Makefile | |
parent | b789fa22aa7491459b4ef01c0e27be4aa3af2de5 (diff) | |
download | freebsd-ports-gnome-07cd0a1f4eccaad9840a9d39cfcc2bc90e9fb07e.tar.gz freebsd-ports-gnome-07cd0a1f4eccaad9840a9d39cfcc2bc90e9fb07e.tar.zst freebsd-ports-gnome-07cd0a1f4eccaad9840a9d39cfcc2bc90e9fb07e.zip |
Update to iplog 2.2.1.
PR: ports/21432
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> via maintainer
Approved by: Udo Schweigert <ust@cert.siemens.de>
Diffstat (limited to 'net/iplog/Makefile')
-rw-r--r-- | net/iplog/Makefile | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/net/iplog/Makefile b/net/iplog/Makefile index 481ea414d7e2..19b4e9847ef4 100644 --- a/net/iplog/Makefile +++ b/net/iplog/Makefile @@ -6,41 +6,39 @@ # PORTNAME= iplog -PORTVERSION= 2.2.0 +PORTVERSION= 2.2.1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - ftp://ftp.karlsbakk.net/pub/ojnk/iplog/ + http://misc.ojnk.net/~odin/stuff/ MASTER_SITE_SUBDIR= ojnk -PATCH_SITES= http://ojnk.sourceforge.net/stuff/ \ - ftp://ftp.karlsbakk.net/pub/ojnk/iplog/ -PATCH_DIST_STRIP=-p1 - MAINTAINER= ust@cert.siemens.de -GNU_CONFIGURE= yes -MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}" USE_GMAKE= yes +GNU_CONFIGURE= yes MAN5= iplog.conf.5 MAN8= iplog.8 .include <bsd.port.pre.mk> +post-patch: +.for file in example-iplog.conf iplog.8 iplog.conf.5 src/iplog.h + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} +.endfor post-install: - @strip ${PREFIX}/sbin/iplog + ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc .if !exists(${PREFIX}/etc/iplog.conf) - @${CP} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/iplog.conf + ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/iplog.conf .else - @echo - @echo "============================================================================" - @echo "Hint: iplog changed its configuration file from ${PREFIX}/etc/iplog.rules" - @echo " to ${PREFIX}/etc/iplog.conf" - @echo - @echo "See ${PREFIX}/etc/example-iplog.conf for an example" - @echo "============================================================================" - @echo + @${ECHO_MSG} + @${ECHO_MSG} "============================================================================" + @${ECHO_MSG} "Hint: iplog changed its configuration file from ${PREFIX}/etc/iplog.rules" + @${ECHO_MSG} " to ${PREFIX}/etc/iplog.conf" + @${ECHO_MSG} + @${ECHO_MSG} "See ${PREFIX}/etc/example-iplog.conf for an example" + @${ECHO_MSG} "============================================================================" + @${ECHO_MSG} .endif - @${CP} ${WRKSRC}/example-iplog.conf ${PREFIX}/etc/example-iplog.conf .include <bsd.port.post.mk> |