diff options
author | Lars Thegler <lth@FreeBSD.org> | 2004-10-12 21:31:16 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2004-10-12 21:31:16 +0000 |
commit | b55987c06c3762a9a5d6ae1096c2cdb40be1d1a1 (patch) | |
tree | e4e7ecddfe8248954bdd35a3bdeefc5d216d1e39 | |
parent | 6deb4d378497f05024547aee06134d678e6a9fb1 (diff) | |
download | freebsd-ports-b55987c06c3762a9a5d6ae1096c2cdb40be1d1a1.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/Makefile | 5 | ||||
-rw-r--r-- | net/smokeping/Makefile | 5 |
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 |