mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
parent
4ab6b38019
commit
f1ff4ebc5a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356533
@ -11,11 +11,8 @@ DISTNAME= ventrilo_srv-${PORTVERSION}-FreeBSD-i386
|
||||
MAINTAINER= ports@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 you accept the license. Go to http://www
|
||||
.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}
|
||||
|
@ -6,4 +6,5 @@ ventrilo-server/ventrilo_srv
|
||||
ventrilo-server/ventrilo_status
|
||||
ventrilo-server/ventrilo_srv.htm
|
||||
ventrilo-server/ventrilo_srv.ini
|
||||
@exec chown -R ventrilo %D/ventrilo-server
|
||||
@dirrm ventrilo-server
|
||||
|
Loading…
Reference in New Issue
Block a user