blob: 9dc53cbf90d57908a2e499a040ae45667b7f7f33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Bill Cadwallader <hurbold@yahoo.com>
# $FreeBSD$
PORTNAME= verlihub
DISTVERSION= 0.9.8e-r2
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/Verlihub/${DISTVERSION}
MAINTAINER= me@skylord.ru
COMMENT= Direct Connect protocol server (Hub)
# XXX: Actually, bash isn't required for building,
# but otherwise configure script would pick the wrong path
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP \
libpcre.so:${PORTSDIR}/devel/pcre
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LDFLAGS+= -L${LOCALBASE}/lib
USE_RC_SUBR= verlihub
USE_GCC= any
USES= libtool
USE_MYSQL= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_OPENSSL= yes
SUB_FILES+= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|for libpath in /|for libpath in ${PREFIX} /|g' ${WRKSRC}/config_geoip
.include <bsd.port.mk>
|