View | Details | Raw Unified | Return to bug 190383
Collapse All | Expand All

(-)b/audio/ventrilo-server/Makefile (-14 / +7 lines)
Lines 15-21 LIB_DEPENDS= libstdc\\+\\+.so.3:${PORTSDIR}/misc/compat4x \ Link Here
15
		libm.so.2:${PORTSDIR}/misc/compat4x \
15
		libm.so.2:${PORTSDIR}/misc/compat4x \
16
		libc.so.4:${PORTSDIR}/misc/compat4x
16
		libc.so.4:${PORTSDIR}/misc/compat4x
17
17
18
NO_STAGE=	yes
19
.include <bsd.port.pre.mk>
18
.include <bsd.port.pre.mk>
20
19
21
IA32_BINARY_PORT=	yes
20
IA32_BINARY_PORT=	yes
Lines 34-52 IGNORE= distfile can only be fetched if you accept the license. Go to http://www Link Here
34
.endif
33
.endif
35
34
36
do-install:
35
do-install:
37
	@${MKDIR} ${INSTALL_DIR}
36
	@${MKDIR} ${STAGEDIR}${INSTALL_DIR}
38
	@${CHOWN} ${VENT_USER} ${INSTALL_DIR}
37
	${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_srv ${STAGEDIR}${INSTALL_DIR}
39
	${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_srv ${INSTALL_DIR}
38
	${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_status ${STAGEDIR}${INSTALL_DIR}
40
	${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_status ${INSTALL_DIR}
39
	${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.htm ${STAGEDIR}${INSTALL_DIR}
41
	${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.htm ${INSTALL_DIR}
40
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${INSTALL_DIR}
42
	${INSTALL_DATA} ${WRKSRC}/LICENSE ${INSTALL_DIR}
41
	${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.ini ${STAGEDIR}${PREFIX}/etc/ventrilo_srv.ini.sample
43
	${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.ini ${PREFIX}/etc/ventrilo_srv.ini.sample
42
	${LN} -s ${PREFIX}/etc/ventrilo_srv.ini ${STAGEDIR}${INSTALL_DIR}/ventrilo_srv.ini
44
	@if [ ! -f ${PREFIX}/etc/ventrilo_srv.ini ]; then \
45
		${CP} -p ${PREFIX}/etc/ventrilo_srv.ini.sample ${PREFIX}/etc/ventrilo_srv.ini ; \
46
		${CHMOD} 0640 ${PREFIX}/etc/ventrilo_srv.ini ; \
47
		${CHGRP} ${VENT_USER} ${PREFIX}/etc/ventrilo_srv.ini ; \
48
	fi
49
	${LN} -s ${PREFIX}/etc/ventrilo_srv.ini ${INSTALL_DIR}/ventrilo_srv.ini
50
43
51
post-install:
44
post-install:
52
	@${CAT} ${PKGMESSAGE}
45
	@${CAT} ${PKGMESSAGE}
(-)b/audio/ventrilo-server/pkg-plist (+1 lines)
Lines 6-9 ventrilo-server/ventrilo_srv Link Here
6
ventrilo-server/ventrilo_status
6
ventrilo-server/ventrilo_status
7
ventrilo-server/ventrilo_srv.htm
7
ventrilo-server/ventrilo_srv.htm
8
ventrilo-server/ventrilo_srv.ini
8
ventrilo-server/ventrilo_srv.ini
9
@exec chown -R ventrilo %D/ventrilo-server
9
@dirrm ventrilo-server
10
@dirrm ventrilo-server

Return to bug 190383