aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cacti/Makefile
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-01-06 19:02:41 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-01-06 19:02:41 +0000
commit0e7ce729d6bbb127ec4c046e2f59cc47b2438ff3 (patch)
tree8aa05bac73137789d2558160d550653bbd6b3ee5 /net-mgmt/cacti/Makefile
parent944e7dd0fb2d4719529f32b29bdf045b9e7c627b (diff)
downloadports-0e7ce729d6bbb127ec4c046e2f59cc47b2438ff3.tar.gz
ports-0e7ce729d6bbb127ec4c046e2f59cc47b2438ff3.zip
Notes
Diffstat (limited to 'net-mgmt/cacti/Makefile')
-rw-r--r--net-mgmt/cacti/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile
index 7fe6f051ee74..86fed65052e8 100644
--- a/net-mgmt/cacti/Makefile
+++ b/net-mgmt/cacti/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= cacti
-PORTVERSION= 1.2.7
+PORTVERSION= 1.2.8
CATEGORIES= net-mgmt www
MASTER_SITES= http://www.cacti.net/downloads/ \
ftp://ftpmirror.uk/freebsd-ports/cacti/
@@ -55,12 +55,6 @@ do-install:
${MKDIR} ${STAGEDIR}/var/log/cacti
${MKDIR} ${STAGEDIR}/var/db/cacti/rra
${MKDIR} ${STAGEDIR}/var/db/cacti/scripts
- ${CP} -R ${WRKSRC}/* ${STAGEDIR}/${PREFIX}/${CACTIDIR}
- if [ -f ${PREFIX}/${CACTIDIR}/include/db-settings.php ]; then \
- ${ECHO_CMD} "======================================================================="; \
- ${ECHO_CMD} "WARNING! You have to move DB settings from"; \
- ${ECHO_CMD} "${PREFIX}/${CACTIDIR}/include/db-settings.php file to"; \
- ${ECHO_CMD} "${PREFIX}/${CACTIDIR}/include/config.php and remove db-settings.php"; \
- fi
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${CACTIDIR} "! -name '.git\*'"
.include <bsd.port.mk>