summaryrefslogtreecommitdiff
path: root/net-p2p/verlihub/Makefile
blob: a54d497486e606e3e330cac9a778b2ffcc480095 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# New ports collection makefile for:	verlihub
# Date created:				2 April 2004
# Whom:					Hurbold
#
# $FreeBSD$
#

PORTNAME=	verlihub
PORTVERSION=	0.9.8.c
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	net-p2p
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	verlihub
DISTNAME=	verlihub-0.9.8c-RC2

MAINTAINER=	hurbold@yahoo.com
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.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash

WRKSRC=		${WRKDIR}/verlihub-0.9.8c

USE_RC_SUBR=	verlihub

USE_MYSQL=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_GCC=	3.4+
USE_OPENSSL=	yes
SUB_FILES+=	pkg-message

SUB_FILES=	pkg-message
DOCS=	configuring.txt using.txt help.html verlihub.html
MANUAL_DOCS=	verlihub.css verlihub_manual.html
PORTDOCS=	${DOCS} ${MANUAL_DOCS}

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.for i in ${MANUAL_DOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/html_manual/${i} ${DOCSDIR}
.endfor
.endif

	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>