aboutsummaryrefslogtreecommitdiffstats
path: root/audio/teamspeak3-server/Makefile
blob: b57855b9d423daf72614af0f87f9e0fff1ba71a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    teamspeak_server
# Date created:             22 January 2003
# Whom:                 Daniel O'Connor
#
# $FreeBSD$
#

PORTNAME=   teamspeak_server
PORTVERSION=    2.0.20.1
PORTREVISION=   2
CATEGORIES= audio net
MASTER_SITES=   ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/
DISTNAME=   ts2_server_rc2_20201

MAINTAINER= tremere@cainites.net
COMMENT=    Server side of the TeamSpeak group voice chat system

WRKSRC=     ${WRKDIR}/tss2_rc2
ONLY_FOR_ARCHS= i386
USE_BZIP2=  yes
NO_BUILD=   yes
USE_LINUX=  yes
PKGDEINSTALL=   ${PKGINSTALL}

USE_RC_SUBR=    teamspeak-server

pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL

do-install:
    @${MKDIR} ${PREFIX}/lib/teamspeak_server
    ${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/lib/teamspeak_server -xf -

post-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL

post-deinstall:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGDEINSTALL} ${PORTNAME} POST-DEINSTALL

.include <bsd.port.mk>