aboutsummaryrefslogtreecommitdiff
path: root/audio/ventrilo-server/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-03-13 15:24:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-03-13 15:24:31 +0000
commit3674dbd3013658f529ebe4337b5f2a3d5bbbf0c4 (patch)
tree97421f9903c17b043531dd31d7f91ea209abc496 /audio/ventrilo-server/Makefile
parent219c762bcdd4d703ca9019cb61393f3990690085 (diff)
Notes
Diffstat (limited to 'audio/ventrilo-server/Makefile')
-rw-r--r--audio/ventrilo-server/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/audio/ventrilo-server/Makefile b/audio/ventrilo-server/Makefile
index f22f8bed2cbb..2378dbb27c02 100644
--- a/audio/ventrilo-server/Makefile
+++ b/audio/ventrilo-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ventrilo
-PORTVERSION= 2.3.1
+PORTVERSION= 3.0.2
CATEGORIES= audio net
MASTER_SITES= # http://www.ventrilo.com/download.php
PKGNAMESUFFIX= -server
@@ -15,32 +15,25 @@ DISTNAME= ventrilo_srv-${PORTVERSION}-FreeBSD-i386
MAINTAINER= amistry@am-productions.biz
COMMENT= Server side of the Ventrilo group voice chat system
-FETCH_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
-LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
+LIB_DEPENDS= stdc\\+\\+.3:${PORTSDIR}/misc/compat4x \
+ m.2:${PORTSDIR}/misc/compat4x \
+ c.4:${PORTSDIR}/misc/compat4x
-BROKEN= bad checksum
+.include <bsd.port.pre.mk>
-ONLY_FOR_ARCHS= i386
+IA32_BINARY_PORT= yes
NO_BUILD= yes
RESTRICTED= Redistribution of pre-compiled binaries is not permitted
-NO_CDROM= Redistribution of pre-compiled binaries is not permitted
INSTALL_DIR= ${PREFIX}/ventrilo-server
USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX}.sh
VENT_USER= ${PORTNAME}
-FETCH_CMD= ${LOCALBASE}/bin/wget
+WRKSRC= ${WRKDIR}/ventsrv
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
-
-do-fetch:
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
- ${FETCH_CMD} --post-data "Download=Download" "http://download1.ventrilo.com/dl.php?server_freebsd_i386&2332415189" -O "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+IGNORE= distfile can only be fetched if you accept the license. Go to http://www.ventrilo.com/dlprod.php?id=105 and put ${DISTFILES} into ${DISTDIR}
.endif
-do-extract:
- @${MKDIR} ${WRKSRC}
- @${TAR} -C ${WRKSRC} -zxf ${DISTDIR}/${DISTFILES}
-
do-install:
@ ${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@@ -66,4 +59,5 @@ post-deinstall:
${SH} ${PKGDEINSTALL} ${PORTNAME} POST-DEINSTALL
PKGDEINSTALL= ${PKGINSTALL}
+
.include <bsd.port.post.mk>