# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_2_0/news/atp/Makefile 386312 2015-05-14 10:15:04Z mat $

PORTNAME=	atp
PORTVERSION=	1.50
PORTREVISION=	2
CATEGORIES=	news
MASTER_SITES=	SUNSITE/system/bbs/mail
DISTFILES=	${DISTNAME}-src.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	QWK message packet reader and composer for FreeBSD

RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip \
		unzip:${PORTSDIR}/archivers/unzip

USES=		gmake perl5
USE_PERL5=	run
GNU_CONFIGURE=	yes
SUB_FILES=	pkg-message

post-patch:
.for i in atphome bindir mandir
	${REINPLACE_CMD} -e 's,$$($i),$$(DESTDIR)&,g' \
		${WRKSRC}/Makefile.in
.endfor

.include <bsd.port.mk>
