aboutsummaryrefslogtreecommitdiffstats
path: root/news/mail2nntp/Makefile
blob: 5143946934bf5ddc4c453f18066f3e0d0c4213f5 (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
# Created by: gary@hayers.org
# $FreeBSD$

PORTNAME=   mail2nntp
PORTVERSION=    1.0
CATEGORIES= news mail
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/Stable%201.0/

MAINTAINER= gary@hayers.org
COMMENT=    Simple mail to news gateway

LICENSE=    GPLv2

RUN_DEPENDS=    p5-NNTPClient>=0:news/p5-NNTPClient

USES=       perl5 shebangfix
USE_PERL5=  run
NO_BUILD=   yes
SHEBANG_FILES=  mail2nntp.pl

PORTDOCS=   *
PLIST_FILES=    bin/mail2nntp.pl

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>