diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-11-21 10:37:10 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-11-21 10:37:10 +0000 |
commit | 1067512eb12a9ec57ba3c2e7a2b5e2088f702b1c (patch) | |
tree | bb000cf90a1d8be9176e0c7e1fce46d2fd9a2294 /net-mgmt/smokeping | |
parent | f4980634329efa7f2409795a48d38dfeaadde00a (diff) | |
download | ports-1067512eb12a9ec57ba3c2e7a2b5e2088f702b1c.tar.gz ports-1067512eb12a9ec57ba3c2e7a2b5e2088f702b1c.zip |
Notes
Diffstat (limited to 'net-mgmt/smokeping')
-rw-r--r-- | net-mgmt/smokeping/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile index 0480950b53aa..d676322cd702 100644 --- a/net-mgmt/smokeping/Makefile +++ b/net-mgmt/smokeping/Makefile @@ -7,6 +7,7 @@ PORTNAME= smokeping PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ http://smokeping.cs.pu.edu.tw/pub/ @@ -239,13 +240,13 @@ pre-su-install: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/smokeping ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/tSmoke ${PREFIX}/bin -.if !defined(NOPORTDOCS) (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1) (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN5} ${PREFIX}/man/man5) (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN7} ${PREFIX}/man/man7) .for FILE in ${MAN3} ${INSTALL_MAN} `${FIND} ${WRKSRC}/doc -name ${FILE}` ${PREFIX}/man/man3 .endfor +.if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}/Config ${MKDIR} ${DOCSDIR}/Smokeping/matchers @@ -260,11 +261,11 @@ do-install: ${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}) .endif - ${MKDIR} ${PREFIX}/etc/smokeping + ${MKDIR} ${ETCDIR} .for FILE in ${ETC1} - ${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping - if [ ! -f ${PREFIX}/etc/smokeping/${FILE} ]; then \ - ${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \ + ${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${ETCDIR} + if [ ! -f ${ETCDIR}/${FILE} ]; then \ + ${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${ETCDIR}/${FILE} ; \ fi .endfor ${MKDIR} ${PREFIX}/smokeping/htdocs |