summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-12 14:39:22 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-12 14:39:22 +0000
commitca55f33ab3fa63dd57f776943e590f6f18ab6302 (patch)
tree4d54bfb334b82a0e8b6ffcc0d2c7050dd5f0610f /net
parent7f540c297e29a02d33e99af1cecc289c30a00a22 (diff)
downloadpkgsrc-ca55f33ab3fa63dd57f776943e590f6f18ab6302.tar.gz
Use INSTALLATION_DIRS.
Diffstat (limited to 'net')
-rw-r--r--net/teamspeak-server/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/teamspeak-server/Makefile b/net/teamspeak-server/Makefile
index e20f064adf8..6476100cfe0 100644
--- a/net/teamspeak-server/Makefile
+++ b/net/teamspeak-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/05/01 11:34:05 abs Exp $
+# $NetBSD: Makefile,v 1.3 2007/06/12 14:39:22 joerg Exp $
PKGNAME= teamspeak-server-2.0.23.15
DISTNAME= ts2_server_rc2_20201
@@ -59,22 +59,23 @@ PKG_SHELL.${TSUSER}= ${SH}
FILES_SUBST+= TSUSER=${TSUSER}
+INSTALLATION_DIRS= ${LIB_DIR} share/examples/rc.d ${SHARE_DIR}/httpdocs \
+ ${SHARE_DIR}/tcpquerydocs ${SHARE_DIR}/mysql_sql \
+ ${SHARE_DIR}/sqlite_sql ${DOC_DIR}/Manual
+
do-build:
${MV} ${WRKSRC}/Manual/_TeamSpeak\ RC2\ Server\ manual-1.png \
${WRKSRC}/Manual/_TeamSpeak_RC2_Server_manual-1.png
do-install:
- ${INSTALL_DATA_DIR} ${LIB_DIR}
${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/server_linux ${LIB_DIR}/teamspeak-server
${INSTALL_LIB} ${WRKSRC}/*.so* ${LIB_DIR}
${INSTALL_SCRIPT} -m 644 ${FILESDIR}/teamspeak.sh ${PREFIX}/share/examples/rc.d/teamspeak
for d in httpdocs tcpquerydocs mysql_sql sqlite_sql ; do \
- ${INSTALL_DATA_DIR} ${SHARE_DIR}/$$d;\
cd ${WRKSRC}/$$d && ${PAX} -rw . ${SHARE_DIR}/$$d;\
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SHARE_DIR}/$$d;\
${FIND} ${SHARE_DIR}/$$d -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE};\
done
- ${INSTALL_DATA_DIR} ${DOC_DIR}/Manual
${INSTALL_DATA} -m 644 ${WRKSRC}/Manual/* ${DOC_DIR}/Manual
${INSTALL_DATA} -m 644 ${WRKSRC}/changelog.txt ${DOC_DIR}
${INSTALL_DATA} -m 644 ${WRKSRC}/manual.html ${DOC_DIR}