summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 840feb6..ed48a4b 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 840feb6..ed48a4b 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
OpenPOWER on IntegriCloud