aboutsummaryrefslogtreecommitdiffstats
path: root/security/denyhosts/Makefile
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-11-23 14:43:34 +0800
committerclsung <clsung@FreeBSD.org>2006-11-23 14:43:34 +0800
commite90cf928aff14a5c9b97596a2671ec6b56214284 (patch)
tree916d6fdd97f0c9a1650ee54d869fd2de2db13278 /security/denyhosts/Makefile
parent769eb65b2c4a1d396b775cb4d5b524afb367d801 (diff)
downloadfreebsd-ports-gnome-e90cf928aff14a5c9b97596a2671ec6b56214284.tar.gz
freebsd-ports-gnome-e90cf928aff14a5c9b97596a2671ec6b56214284.tar.zst
freebsd-ports-gnome-e90cf928aff14a5c9b97596a2671ec6b56214284.zip
- Move patch from pre-configure to post-patch.
- Use denyhost.conf (FreeBSD's default config file) instead of denyhost.cfg. - Bump PORTREVISION. PR: ports/105305 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org> Approved by: maintainer (Mohacsi Janos)
Diffstat (limited to 'security/denyhosts/Makefile')
-rw-r--r--security/denyhosts/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile
index 9a9f067ec448..36fb4c998d9a 100644
--- a/security/denyhosts/Makefile
+++ b/security/denyhosts/Makefile
@@ -7,6 +7,7 @@
PORTNAME= denyhosts
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,16 +23,16 @@ USE_RC_SUBR= denyhosts
PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt
-pre-configure:
+post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/daemon-control-dist \
${WRKSRC}/denyhosts.cfg-dist \
${WRKSRC}/setup.py
post-install:
- ${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc
- [ -f ${PREFIX}/etc/denyhosts.cfg ] || \
- ${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.cfg
+ ${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.conf-dist
+ [ -f ${PREFIX}/etc/denyhosts.conf ] || \
+ ${INSTALL_DATA} ${WRKSRC}/denyhosts.cfg-dist ${PREFIX}/etc/denyhosts.conf
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}