freebsd-ports/audio/teamspeak_server/Makefile
Chris Rees 2d9fd9bdf9 - Use USERS and GROUPS
PR:		ports/157538
Submitted by:	Chris Rees (utisoft@gmail.com) (me)
Approved by:	tabthorpe (co-mentor)
2011-06-25 19:57:41 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: teamspeak_server
# Date created: 22 January 2003
# Whom: Daniel O'Connor
#
# $FreeBSD$
#
PORTNAME= teamspeak_server
PORTVERSION= 2.0.24.01
CATEGORIES= audio net
MASTER_SITES= ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/:0 \
ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202401/:1
DISTFILES= ts2_server_rc2_202319.tar.bz2:0 server_linux:1
DIST_SUBDIR= teamspeak
EXTRACT_ONLY= ts2_server_rc2_202319.tar.bz2
MAINTAINER= ports@FreeBSD.org
COMMENT= Server side of the TeamSpeak group voice chat system
WRKSRC= ${WRKDIR}/tss2_rc2
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
USE_LINUX= yes
USERS= teamspeak
GROUPS= ${USERS}
USE_RC_SUBR= teamspeak-server
do-install:
@${MKDIR} ${PREFIX}/lib/teamspeak_server
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/lib/teamspeak_server -xf -
@${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/server_linux \
${PREFIX}/lib/teamspeak_server
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
.include <bsd.port.mk>