forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (27 loc) · 853 Bytes
/
Makefile
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
# Created by: Bill Cadwallader <[email protected]>
# $FreeBSD$
PORTNAME= verlihub
DISTVERSION= 0.9.8e-r2
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/Verlihub/${DISTVERSION}
MAINTAINER= [email protected]
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
LIBS+= -L${LOCALBASE}/lib
USE_RC_SUBR= verlihub
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>