svn commit: r356533 - head/audio/ventrilo-server
Mark Felder
feld at FreeBSD.org
Wed Jun 4 18:03:36 UTC 2014
Author: feld
Date: Wed Jun 4 18:03:35 2014
New Revision: 356533
URL: http://svnweb.freebsd.org/changeset/ports/356533
QAT: https://qat.redports.org/buildarchive/r356533/
Log:
Support STAGE
PR: 190383
Submitted by: joe at thrallingpenguin.com
Modified:
head/audio/ventrilo-server/Makefile
head/audio/ventrilo-server/pkg-plist
Modified: head/audio/ventrilo-server/Makefile
==============================================================================
--- head/audio/ventrilo-server/Makefile Wed Jun 4 18:03:32 2014 (r356532)
+++ head/audio/ventrilo-server/Makefile Wed Jun 4 18:03:35 2014 (r356533)
@@ -11,11 +11,8 @@ DISTNAME= ventrilo_srv-${PORTVERSION}-Fr
MAINTAINER= ports at FreeBSD.org
COMMENT= Server side of the Ventrilo group voice chat system
-LIB_DEPENDS= libstdc\\+\\+.so.3:${PORTSDIR}/misc/compat4x \
- libm.so.2:${PORTSDIR}/misc/compat4x \
- libc.so.4:${PORTSDIR}/misc/compat4x
+RUN_DEPENDS= compat4x-i386>0:${PORTSDIR}/misc/compat4x
-NO_STAGE= yes
.include <bsd.port.pre.mk>
IA32_BINARY_PORT= yes
@@ -34,19 +31,13 @@ IGNORE= distfile can only be fetched if
.endif
do-install:
- @${MKDIR} ${INSTALL_DIR}
- @${CHOWN} ${VENT_USER} ${INSTALL_DIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_srv ${INSTALL_DIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_status ${INSTALL_DIR}
- ${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.htm ${INSTALL_DIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${INSTALL_DIR}
- ${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.ini ${PREFIX}/etc/ventrilo_srv.ini.sample
- @if [ ! -f ${PREFIX}/etc/ventrilo_srv.ini ]; then \
- ${CP} -p ${PREFIX}/etc/ventrilo_srv.ini.sample ${PREFIX}/etc/ventrilo_srv.ini ; \
- ${CHMOD} 0640 ${PREFIX}/etc/ventrilo_srv.ini ; \
- ${CHGRP} ${VENT_USER} ${PREFIX}/etc/ventrilo_srv.ini ; \
- fi
- ${LN} -s ${PREFIX}/etc/ventrilo_srv.ini ${INSTALL_DIR}/ventrilo_srv.ini
+ @${MKDIR} ${STAGEDIR}${INSTALL_DIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_srv ${STAGEDIR}${INSTALL_DIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_status ${STAGEDIR}${INSTALL_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.htm ${STAGEDIR}${INSTALL_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${INSTALL_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.ini ${STAGEDIR}${PREFIX}/etc/ventrilo_srv.ini.sample
+ ${LN} -s ${PREFIX}/etc/ventrilo_srv.ini ${STAGEDIR}${INSTALL_DIR}/ventrilo_srv.ini
post-install:
@${CAT} ${PKGMESSAGE}
Modified: head/audio/ventrilo-server/pkg-plist
==============================================================================
--- head/audio/ventrilo-server/pkg-plist Wed Jun 4 18:03:32 2014 (r356532)
+++ head/audio/ventrilo-server/pkg-plist Wed Jun 4 18:03:35 2014 (r356533)
@@ -6,4 +6,5 @@ ventrilo-server/ventrilo_srv
ventrilo-server/ventrilo_status
ventrilo-server/ventrilo_srv.htm
ventrilo-server/ventrilo_srv.ini
+ at exec chown -R ventrilo %D/ventrilo-server
@dirrm ventrilo-server
More information about the svn-ports-all
mailing list