0f74ecefa0
- Add stage support - Add DOCS option - Take maintainership
32 lines
754 B
Makefile
32 lines
754 B
Makefile
# 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>
|