aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/opendchub/Makefile
blob: 44618558606b2afef393b7b21f3120b888da44b8 (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
# Created by: Munish Chopra <mchopra@engmail.uwaterloo.ca>
# $FreeBSD$

PORTNAME=	opendchub
PORTVERSION=	0.8.3
CATEGORIES=	net-p2p
MASTER_SITES=	SF/${PORTNAME}/Open%20DC%20Hub/${PORTVERSION}

MAINTAINER=	danilo@FreeBSD.org
COMMENT=	Unofficial Unix version of the Direct Connect Hub software

USES=		perl5 gmake
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	DOCS

PORTDOCS=	README configfiles general scriptdoc
PLIST_FILES=	bin/${PORTNAME}

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

pre-install:
	@${CHMOD} a+rx ${WRKSRC}/install-sh

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Documentation/* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>