2006-09-25 15:15:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2006/09/25 13:15:35 abs Exp $
|
2006-08-08 21:40:08 +02:00
|
|
|
|
2006-09-25 15:15:35 +02:00
|
|
|
PKGNAME= teamspeak-client-2.0.32.60
|
|
|
|
DISTNAME= ts2_client_rc2_2032
|
2006-08-08 21:40:08 +02:00
|
|
|
CATEGORIES= net audio
|
|
|
|
MASTER_SITES= ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ \
|
|
|
|
ftp://213.202.254.114/teamspeak/releases/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= abs@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.goteamspeak.com/
|
|
|
|
COMMENT= Teamspeak group VoIP client
|
|
|
|
|
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
|
|
|
|
|
|
|
.if !defined(USE_NATIVE_LINUX)
|
|
|
|
DEPENDS+= suse_base-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_base
|
|
|
|
DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
|
|
|
|
DEPENDS+= suse_libjpeg-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_libjpeg
|
|
|
|
.endif
|
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
USE_LANGUAGES=
|
|
|
|
|
2006-09-21 00:00:53 +02:00
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
2006-08-08 21:40:08 +02:00
|
|
|
RESTRICTED= Redistribution to third parties is expressly prohibited
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
2006-09-21 00:00:53 +02:00
|
|
|
LICENSE= teamspeak-license
|
2006-08-08 21:40:08 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/setup.data/image
|
2006-09-21 00:00:53 +02:00
|
|
|
LIB_DIR= ${PREFIX}/lib/teamspeak-client
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/teamspeak-client
|
2006-08-08 21:40:08 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${SED} "s|%installdir%|${LIB_DIR}|" ${WRKSRC}/TeamSpeak \
|
|
|
|
> ${WRKDIR}/TeamSpeak
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/TeamSpeak ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${LIB_DIR}
|
|
|
|
${INSTALL_DATA_DIR} ${LIB_DIR}/sounds
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/TeamSpeak.bin ${LIB_DIR}
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/icon.xpm ${LIB_DIR}
|
2006-09-21 00:00:53 +02:00
|
|
|
${INSTALL_LIB} ${WRKSRC}/sounds/* ${LIB_DIR}/sounds
|
2006-08-08 21:40:08 +02:00
|
|
|
${INSTALL_LIB} ${WRKSRC}/*.so* ${LIB_DIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
|
|
${INSTALL_DATA} -m 644 ${WRKSRC}/Readme.txt ${DOC_DIR}
|
|
|
|
${INSTALL_DATA} -m 644 ${WRKSRC}/clicense.txt ${DOC_DIR}
|
|
|
|
${INSTALL_DATA} -m 644 ${WRKSRC}/manual/* ${DOC_DIR}
|
2006-09-21 00:00:53 +02:00
|
|
|
${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
|
|
|
|
(cd ${PREFIX}; ${FIND} lib/teamspeak-client share/doc/teamspeak-client -type f -print ) >> ${PLIST_SRC}
|
|
|
|
(cd ${PREFIX}; ${FIND} lib/teamspeak-client share/doc/teamspeak-client -type d -print ) | ${SED} 's/^/@dirrm /' | ${SORT} -r >> ${PLIST_SRC}
|
|
|
|
|
2006-08-08 21:40:08 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|