aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2004-10-13 05:31:16 +0800
committerlth <lth@FreeBSD.org>2004-10-13 05:31:16 +0800
commit584e90992851d09ca4506de85bae919cd632e74a (patch)
treecc9d5d9958ab738c0cf7958744172ddf89a91b24
parent637a2ec2429f164c40dd3173447cf3a788f1361d (diff)
downloadfreebsd-ports-gnome-584e90992851d09ca4506de85bae919cd632e74a.tar.gz
freebsd-ports-gnome-584e90992851d09ca4506de85bae919cd632e74a.tar.zst
freebsd-ports-gnome-584e90992851d09ca4506de85bae919cd632e74a.zip
Fix breakage on pointyhat's 4.x chroot environment
PR: ports/72401 Noticed by: pointyhat Submitted by: lth
-rw-r--r--net-mgmt/smokeping/Makefile5
-rw-r--r--net/smokeping/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile
index 840feb695232..ed48a4bdfd8b 100644
--- a/net-mgmt/smokeping/Makefile
+++ b/net-mgmt/smokeping/Makefile
@@ -143,8 +143,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \
fi
.endfor
- @${MKDIR} ${PREFIX}/smokeping
- @${CP} -Rp ${WRKSRC}/[hl]* ${PREFIX}/smokeping/
+ @${MKDIR} ${PREFIX}/smokeping/htdocs
+ @${INSTALL_SCRIPT} ${WRKSRC}/htdocs/smokeping.cgi ${PREFIX}/smokeping/htdocs/smokeping.cgi
+ @${CP} -R ${WRKSRC}/lib ${PREFIX}/smokeping/
@${MKDIR} ${PREFIX}/var/smokeping
@${CHOWN} ${USER}:${GROUP} ${PREFIX}/var/smokeping
@${MKDIR} ${PREFIX}/smokeping/htdocs/img
diff --git a/net/smokeping/Makefile b/net/smokeping/Makefile
index 840feb695232..ed48a4bdfd8b 100644
--- a/net/smokeping/Makefile
+++ b/net/smokeping/Makefile
@@ -143,8 +143,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \
fi
.endfor
- @${MKDIR} ${PREFIX}/smokeping
- @${CP} -Rp ${WRKSRC}/[hl]* ${PREFIX}/smokeping/
+ @${MKDIR} ${PREFIX}/smokeping/htdocs
+ @${INSTALL_SCRIPT} ${WRKSRC}/htdocs/smokeping.cgi ${PREFIX}/smokeping/htdocs/smokeping.cgi
+ @${CP} -R ${WRKSRC}/lib ${PREFIX}/smokeping/
@${MKDIR} ${PREFIX}/var/smokeping
@${CHOWN} ${USER}:${GROUP} ${PREFIX}/var/smokeping
@${MKDIR} ${PREFIX}/smokeping/htdocs/img