freebsd-ports/net/opendchub/Makefile
Kirill Ponomarev 6466f087aa - Per bento, this port will not install with the perl in stock
4.x. Mark it IGNORE
- Use DOCSDIR macro

PR:		56473
Submitted by:	Mark Linimon <linimon@lonesome.com>
2003-09-23 07:24:09 +00:00

38 lines
835 B
Makefile

# New ports collection makefile for: opendchub
# Date created: May 29, 2002
# Whom: Munish Chopra <mchopra@engmail.uwaterloo.ca>
#
# $FreeBSD$
#
PORTNAME= opendchub
PORTVERSION= 0.7.12
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Unofficial Unix version of the Direct Connect Hub software
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${PERL} -pi -e 's|crypt\.h||g ; \
s|malloc\.h||g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= "needs at least perl 5.6.1 to build"
.endif
.include <bsd.port.post.mk>