diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-11-21 18:37:10 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-11-21 18:37:10 +0800 |
commit | 8e5aa8e716afe170999f0f074caca3084924341d (patch) | |
tree | a0fda3ffc6b5a3c97553827ac7953de38689887e /net-mgmt | |
parent | b7eee61fab934b3708b89f194040f2cea97d185f (diff) | |
download | freebsd-ports-gnome-8e5aa8e716afe170999f0f074caca3084924341d.tar.gz freebsd-ports-gnome-8e5aa8e716afe170999f0f074caca3084924341d.tar.zst freebsd-ports-gnome-8e5aa8e716afe170999f0f074caca3084924341d.zip |
- man pages installation is not conditioned by NOPORTDOCS (fix plist)
- use ETCDIR while here
- bump PORTREVISION
Approved by: maintainer timeout on QAT BotMail
Prompted by: QAT QA run
Diffstat (limited to 'net-mgmt')
-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 |