aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/verlihub/Makefile
blob: 9e900e333b32961ae3471e680505fda1539fd625 (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
35
36
37
38
39
40
# New ports collection makefile for:    Verlihub
# Date created:             2 April 2004
# Whom:                 Bill Cadwallader <hurbold@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=   verlihub
DISTVERSION=    0.9.8e-r2
PORTREVISION=   2
PORTEPOCH=  1
CATEGORIES= net-p2p
MASTER_SITES=   SF/${PORTNAME}/Verlihub/${DISTVERSION}

MAINTAINER= me@skylord.ru
COMMENT=    A 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=    GeoIP.5:${PORTSDIR}/net/GeoIP \
        pcre.1:${PORTSDIR}/devel/pcre
RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

USE_RC_SUBR=    verlihub
USE_GCC=    4.2+
USE_AUTOTOOLS=  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

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>