blob: cccce3892c0dc10d232a6822783aecb060b28a43 (
plain)
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
|
# 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:${PORTSDIR}/news/p5-NNTPClient
USE_PERL5_RUN= yes
NO_BUILD= yes
PORTDOCS= *
PLIST_FILES= bin/mail2nntp.pl
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changelog ${DOCSDIR}
.endif
.include <bsd.port.mk>
|