diff options
author | leeym <leeym@FreeBSD.org> | 2006-02-18 02:55:04 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2006-02-18 02:55:04 +0800 |
commit | 89106d4d82187111c5727d046988e60660022204 (patch) | |
tree | d09c049baa6bd98168ba5c61ce0269af95fd64c8 /net/l4ip/Makefile | |
parent | 7b298ebc75013b2ffa488166e4862cffbe083691 (diff) | |
download | freebsd-ports-gnome-89106d4d82187111c5727d046988e60660022204.tar.gz freebsd-ports-gnome-89106d4d82187111c5727d046988e60660022204.tar.zst freebsd-ports-gnome-89106d4d82187111c5727d046988e60660022204.zip |
- update COMMENT
- better config file handling
Diffstat (limited to 'net/l4ip/Makefile')
-rw-r--r-- | net/l4ip/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/l4ip/Makefile b/net/l4ip/Makefile index 594daf563378..95ca7f0ba847 100644 --- a/net/l4ip/Makefile +++ b/net/l4ip/Makefile @@ -13,7 +13,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/([0-9]*)\.([0-9]*)\.([0-9]*)/v\1.\2.b\3/} EXTRACT_SUFX= .tgz MAINTAINER= leeym@FreeBSD.org -COMMENT= L4 and Health-Check project for IPFilter +COMMENT= L4 health check daemon for IPFILTER USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME}/src @@ -24,7 +24,10 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/l4ip ${PREFIX}/sbin - ${INSTALL_DATA} ${WRKSRC}/l4ip.conf ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/l4ip.conf ${PREFIX}/etc/l4ip.conf.sample +.if !exists(${PREFIX}/etc/l4ip.conf) + ${CP} ${PREFIX}/etc/l4ip.conf.sample ${PREFIX}/etc/l4ip.conf +.endif ${MKDIR} ${EXAMPLESDIR} ${INSTALL} ${WRKSRC}/../samples/*.conf ${EXAMPLESDIR} |