aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-08 15:46:21 +0800
committerantoine <antoine@FreeBSD.org>2014-02-08 15:46:21 +0800
commitd3c6a1369324ed334effe8e744f528c53aeac5e5 (patch)
treee7db41eda057fe663436d5de82816164576392b9
parente671d7becfd35465e3ff152f5c8e527afb2596b1 (diff)
downloadfreebsd-ports-gnome-d3c6a1369324ed334effe8e744f528c53aeac5e5.tar.gz
freebsd-ports-gnome-d3c6a1369324ed334effe8e744f528c53aeac5e5.tar.zst
freebsd-ports-gnome-d3c6a1369324ed334effe8e744f528c53aeac5e5.zip
Fix packaging and leftovers
Reported by: pkg-fallout
-rw-r--r--net/crtmpserver/Makefile4
-rw-r--r--net/crtmpserver/pkg-plist5
2 files changed, 8 insertions, 1 deletions
diff --git a/net/crtmpserver/Makefile b/net/crtmpserver/Makefile
index 3d40da99cae6..57820e7c84e9 100644
--- a/net/crtmpserver/Makefile
+++ b/net/crtmpserver/Makefile
@@ -34,4 +34,8 @@ pre-install:
@${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" "${WRKSRC}"
@${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/all.debug.lua" "${PREFIX}" "${WRKSRC}"
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/var/log/crtmpserver
+ @${MKDIR} ${STAGEDIR}${PREFIX}/var/crtmpserver/media
+
.include <bsd.port.mk>
diff --git a/net/crtmpserver/pkg-plist b/net/crtmpserver/pkg-plist
index 1a0f6d0e7bc8..c050ee5e06f5 100644
--- a/net/crtmpserver/pkg-plist
+++ b/net/crtmpserver/pkg-plist
@@ -25,7 +25,10 @@ sbin/crtmpserver
@dirrmtry lib/crtmpserver/applications/stresstest
@dirrmtry lib/crtmpserver/applications
@dirrmtry lib/crtmpserver
-@exec /bin/mkdir -p var/log/crtmpserver
+@exec /bin/mkdir -p %D/var/log/crtmpserver
+@exec /bin/mkdir -p %D/var/crtmpserver/media
@dirrmtry var/log/crtmpserver
+@dirrmtry var/log
@dirrmtry var/crtmpserver/media
@dirrmtry var/crtmpserver
+@dirrmtry var