]> Cypherpunks.ru repositories - nncp.git/blob - ports/nncp/Makefile
97293b926a288de55b187a1d49db316296098828
[nncp.git] / ports / nncp / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       nncp
4 PORTVERSION=    0.7
5 CATEGORIES=     net
6 MASTER_SITES=   http://www.nncpgo.org/download/ \
7                 http://sourceforge.net/projects/nncp/files/
8
9 MAINTAINER=     stargrave@stargrave.org
10 COMMENT=        Utilities for secure store-and-forward files and mail exchanging
11
12 LICENSE=        GPLv3+
13 LICENSE_FILE=   ${WRKSRC}/COPYING
14
15 BUILD_DEPENDS=  go:lang/go
16
17 USES=           tar:xz
18 MAKEFILE=       BSDmakefile
19
20 USE_RC_SUBR=    nncp-caller nncp-daemon nncp-toss
21 REQUIRE=        DAEMON
22
23 SUB_FILES=      pkg-message pkg-install pkg-deinstall nncp.newsyslog.conf.sample
24
25 PORTDOCS=       AUTHORS NEWS README README.RU THANKS
26 INFO=           nncp
27 INSTALL_TARGET= install-strip
28
29 PLIST_FILES=    bin/nncp-call \
30                 bin/nncp-caller \
31                 bin/nncp-check \
32                 bin/nncp-daemon \
33                 bin/nncp-file \
34                 bin/nncp-freq \
35                 bin/nncp-log \
36                 bin/nncp-mail \
37                 bin/nncp-mincfg \
38                 bin/nncp-newcfg \
39                 bin/nncp-pkt \
40                 bin/nncp-reass \
41                 bin/nncp-rm \
42                 bin/nncp-stat \
43                 bin/nncp-toss \
44                 bin/nncp-xfer \
45                 "@sample etc/newsyslog.conf.d/nncp.conf.sample"
46
47 post-install:
48         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
49         ${INSTALL_DATA} ${WRKDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nncp.conf.sample
50
51 .include <bsd.port.mk>