diff --git a/net-mgmt/portmon/Makefile b/net-mgmt/portmon/Makefile index cb635c85232b..3582616ca211 100644 --- a/net-mgmt/portmon/Makefile +++ b/net-mgmt/portmon/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portmon -PORTVERSION= 1.8 +PORTVERSION= 1.9 CATEGORIES= net MASTER_SITES= http://www.aboleo.net/software/portmon/downloads/ @@ -14,9 +14,15 @@ MAINTAINER= ponomarew@oberon.net COMMENT= Daemon that monitor network services GNU_CONFIGURE= yes +USE_REINPLACE= yes MAN8= portmon.8 +post-patch: + @${REINPLACE_CMD} -e \ + 's|/etc|${PREFIX}/etc|g' \ + ${WRKSRC}/extras/${PORTNAME}.8 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${PREFIX}/bin @@ -24,6 +30,10 @@ do-install: ${PREFIX}/man/man8 ${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \ ${PREFIX}/etc + @${ECHO} "------------------------------------------------------------" + @${ECHO} "Sample of configuration file placed at" + @${ECHO} "${PREFIX}/etc/portmon.hosts.sample" + @${ECHO} "------------------------------------------------------------ post-install: .if !defined(NOPORTDOCS) diff --git a/net-mgmt/portmon/distinfo b/net-mgmt/portmon/distinfo index 5d1fb6871ec9..d59f1835a8e7 100644 --- a/net-mgmt/portmon/distinfo +++ b/net-mgmt/portmon/distinfo @@ -1 +1 @@ -MD5 (portmon-1.8.tar.gz) = 86cc4498e6d9221fd22477bef74ed423 +MD5 (portmon-1.9.tar.gz) = 95ae1352fb6d877b36839a1f90fc2b81 diff --git a/net/portmon/Makefile b/net/portmon/Makefile index cb635c85232b..3582616ca211 100644 --- a/net/portmon/Makefile +++ b/net/portmon/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portmon -PORTVERSION= 1.8 +PORTVERSION= 1.9 CATEGORIES= net MASTER_SITES= http://www.aboleo.net/software/portmon/downloads/ @@ -14,9 +14,15 @@ MAINTAINER= ponomarew@oberon.net COMMENT= Daemon that monitor network services GNU_CONFIGURE= yes +USE_REINPLACE= yes MAN8= portmon.8 +post-patch: + @${REINPLACE_CMD} -e \ + 's|/etc|${PREFIX}/etc|g' \ + ${WRKSRC}/extras/${PORTNAME}.8 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${PREFIX}/bin @@ -24,6 +30,10 @@ do-install: ${PREFIX}/man/man8 ${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \ ${PREFIX}/etc + @${ECHO} "------------------------------------------------------------" + @${ECHO} "Sample of configuration file placed at" + @${ECHO} "${PREFIX}/etc/portmon.hosts.sample" + @${ECHO} "------------------------------------------------------------ post-install: .if !defined(NOPORTDOCS) diff --git a/net/portmon/distinfo b/net/portmon/distinfo index 5d1fb6871ec9..d59f1835a8e7 100644 --- a/net/portmon/distinfo +++ b/net/portmon/distinfo @@ -1 +1 @@ -MD5 (portmon-1.8.tar.gz) = 86cc4498e6d9221fd22477bef74ed423 +MD5 (portmon-1.9.tar.gz) = 95ae1352fb6d877b36839a1f90fc2b81