]> Cypherpunks.ru repositories - nncp.git/blob - ports/nncp/Makefile
7d131213c57c60a57d87fcc25f1b126aa6b17302
[nncp.git] / ports / nncp / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       nncp
4 PORTVERSION=    0.10
5 CATEGORIES=     net
6 MASTER_SITES=   http://www.nncpgo.org/download/
7
8 MAINTAINER=     stargrave@stargrave.org
9 COMMENT=        Utilities for secure store-and-forward files and mail exchanging
10
11 LICENSE=        GPLv3+
12 LICENSE_FILE=   ${WRKSRC}/COPYING
13
14 BUILD_DEPENDS=  go:lang/go
15
16 USES=           tar:xz
17 MAKEFILE=       BSDmakefile
18
19 USE_RC_SUBR=    nncp-caller nncp-daemon nncp-toss
20 REQUIRE=        DAEMON
21
22 SUB_FILES=      pkg-message pkg-install pkg-deinstall nncp.newsyslog.conf.sample
23
24 PORTDOCS=       AUTHORS NEWS NEWS.RU README README.RU THANKS
25 INFO=           nncp
26 INSTALL_TARGET= install-strip
27
28 PLIST_FILES=    bin/nncp-call \
29                 bin/nncp-caller \
30                 bin/nncp-cfgenc \
31                 bin/nncp-cfgmin \
32                 bin/nncp-cfgnew \
33                 bin/nncp-check \
34                 bin/nncp-daemon \
35                 bin/nncp-file \
36                 bin/nncp-freq \
37                 bin/nncp-log \
38                 bin/nncp-mail \
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>