diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2014-10-27 06:19:25 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2014-10-27 06:19:25 +0000 |
commit | 22ad1aef1d4416ed37a73eefff80e01ed9c5c8f4 (patch) | |
tree | c18d3880e57400bc7057485ac21cd9bbd9630562 /audio/teamspeak3-server/Makefile | |
parent | 6689c309f8de457b9420f54e89940977ee911271 (diff) | |
download | ports-22ad1aef1d4416ed37a73eefff80e01ed9c5c8f4.tar.gz ports-22ad1aef1d4416ed37a73eefff80e01ed9c5c8f4.zip |
Notes
Diffstat (limited to 'audio/teamspeak3-server/Makefile')
-rw-r--r-- | audio/teamspeak3-server/Makefile | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/audio/teamspeak3-server/Makefile b/audio/teamspeak3-server/Makefile index d223f2d3d5ee..84a37846415d 100644 --- a/audio/teamspeak3-server/Makefile +++ b/audio/teamspeak3-server/Makefile @@ -2,13 +2,11 @@ # $FreeBSD$ PORTNAME= teamspeak3-server -PORTVERSION= 3.0.10.3 -PORTREVISION= 2 +PORTVERSION= 3.0.11 PORTEPOCH= 1 CATEGORIES= audio net MASTER_SITES= http://dl.4players.de/ts/releases/${PORTVERSION}/ \ - http://teamspeak.gameserver.gamed.de/ts3/releases/${PORTVERSION}/ \ - http://files.teamspeak-services.com/releases/${PORTVERSION}/ + http://teamspeak.gameserver.gamed.de/ts3/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}_freebsd-${TEAMSPEAK_ARCH}-${PORTVERSION} MAINTAINER= hirner@bitfire.at @@ -19,17 +17,10 @@ LICENSE_NAME= TeamSpeak 3.x End User License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell -LIB_DEPENDS= libiconv.so.3:${PORTSDIR}/converters/libiconv - -.ifdef (BATCH) -IGNORE= license ${LICENSE} needs confirmation, but BATCH is defined -.endif - NO_BUILD= yes USE_LDCONFIG= ${LIBDIR} USE_RC_SUBR= teamspeak SUB_FILES= pkg-message -USE_GCC= yes RESTRICTED= No redistribution ONLY_FOR_ARCHS= amd64 i386 @@ -54,11 +45,12 @@ OPTIONS_DEFINE= DOCS .if ${ARCH} == "i386" TEAMSPEAK_ARCH= x86 +WRKSRC= ${WRKDIR}/${PORTNAME}_freebsd_${TEAMSPEAK_ARCH} .endif .if ${ARCH} == "amd64" TEAMSPEAK_ARCH= amd64 -.endif WRKSRC= ${WRKDIR}/${PORTNAME}_freebsd-${TEAMSPEAK_ARCH} +.endif DBDIR= /var/db/teamspeak ETCDIR= ${PREFIX}/etc/teamspeak @@ -70,29 +62,30 @@ PORTDOCS= ts3_serverquery_manual.pdf \ permissiondoc.txt \ privilegekey_guide.txt \ server_quickstart.txt \ - server_upgrade.txt + server_upgrade.txt \ + update_mysql_to_mariadb.txt do-install: @${MKDIR} ${STAGEDIR}${SHAREDIR} - @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${SHAREDIR} - @${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${SHAREDIR} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "sql serverquerydocs" ${STAGEDIR}${SHAREDIR}) + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${SHAREDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${SHAREDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} "sql serverquerydocs" ${STAGEDIR}${SHAREDIR}) @${MKDIR} ${STAGEDIR}${LIBDIR} - @${INSTALL_LIB} ${WRKSRC}/*.so ${STAGEDIR}${LIBDIR} + ${INSTALL_LIB} ${WRKSRC}/*.so ${STAGEDIR}${LIBDIR} + ${INSTALL_LIB} ${WRKSRC}/redist/*.so* ${STAGEDIR}${LIBDIR} - @${INSTALL_PROGRAM} ${WRKSRC}/ts3server_freebsd_${TEAMSPEAK_ARCH} \ + ${INSTALL_PROGRAM} ${WRKSRC}/ts3server_freebsd_${TEAMSPEAK_ARCH} \ ${STAGEDIR}${LIBEXECDIR}/teamspeak_server @${MKDIR} ${STAGEDIR}${DOCSDIR} . for DOCFILE in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${DOCFILE} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${DOCFILE} ${STAGEDIR}${DOCSDIR} . endfor post-install: - @${INSTALL} -d ${STAGEDIR}${DBDIR} - @${INSTALL} -d ${STAGEDIR}${LOGDIR} + ${INSTALL} -d ${STAGEDIR}${DBDIR} + ${INSTALL} -d ${STAGEDIR}${LOGDIR} @${MKDIR} ${STAGEDIR}${ETCDIR} - @${CAT} ${WRKDIR}/pkg-message .include <bsd.port.mk> |