Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / teamspeak-client / Makefile
blobb334cfdf3487afd1dfda86ba64af3eea6eb26953
1 # $NetBSD: Makefile,v 1.11 2012/10/23 17:19:12 asau Exp $
3 PKGNAME= teamspeak-client-2.0.32.60
4 DISTNAME= ts2_client_rc2_2032
5 CATEGORIES= net audio
6 MASTER_SITES= ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/
7 EXTRACT_SUFX= .tar.bz2
9 MAINTAINER= abs@NetBSD.org
10 HOMEPAGE= http://www.goteamspeak.com/
11 COMMENT= Teamspeak group VoIP client
12 LICENSE= teamspeak-license-200700213
14 RESTRICTED= Redistribution to third parties is expressly prohibited
15 NO_SRC_ON_CDROM= ${RESTRICTED}
16 NO_BIN_ON_FTP= ${RESTRICTED}
17 NO_BIN_ON_CDROM= ${RESTRICTED}
19 EMUL_PLATFORMS= linux-i386
20 EMUL_MODULES.linux= base jpeg x11
22 PLIST_SRC= ${WRKDIR}/PLIST
24 WRKSRC= ${WRKDIR}/${DISTNAME}/setup.data/image
25 LIB_DIR= ${PREFIX}/lib/teamspeak-client
26 DOC_DIR= ${PREFIX}/share/doc/teamspeak-client
28 do-build:
29 ${SED} "s|%installdir%|${LIB_DIR}|" ${WRKSRC}/TeamSpeak \
30 > ${WRKDIR}/TeamSpeak
32 INSTALLATION_DIRS= bin ${LIB_DIR}/sounds ${DOC_DIR}
34 do-install:
35 ${INSTALL_SCRIPT} ${WRKDIR}/TeamSpeak ${DESTDIR}${PREFIX}/bin
36 ${INSTALL_LIB} ${WRKSRC}/TeamSpeak.bin ${DESTDIR}${LIB_DIR}
37 ${INSTALL_DATA} ${WRKSRC}/icon.xpm ${DESTDIR}${LIB_DIR}
38 ${INSTALL_DATA} ${WRKSRC}/sounds/* ${DESTDIR}${LIB_DIR}/sounds
39 ${INSTALL_LIB} ${WRKSRC}/*.so* ${DESTDIR}${LIB_DIR}
40 ${INSTALL_DATA} -m 644 ${WRKSRC}/Readme.txt ${DESTDIR}${DOC_DIR}
41 ${INSTALL_DATA} -m 644 ${WRKSRC}/clicense.txt ${DESTDIR}${DOC_DIR}
42 ${INSTALL_DATA} -m 644 ${WRKSRC}/manual/* ${DESTDIR}${DOC_DIR}
43 ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
44 (cd ${DESTDIR}${PREFIX}; ${FIND} lib/teamspeak-client share/doc/teamspeak-client -type f -print ) >> ${PLIST_SRC}
47 .include "../../mk/bsd.pkg.mk"