aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/opendchub/Makefile
blob: 40ad21d8b2fc72df64d5c43b419dd69a3192bc3c (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: Munish Chopra <mchopra@engmail.uwaterloo.ca>
# $FreeBSD$

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

MAINTAINER= yashin.dm@gmail.com
COMMENT=    Unofficial Unix version of the Direct Connect Hub software

USES=       perl5
USE_OPENSSL=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

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

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

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

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Documentation/* ${DOCSDIR}
.endif

.include <bsd.port.mk>