]> Cypherpunks.ru repositories - nncp.git/blob - ports/nncp/Makefile
3738689a2fe30c54fb2f90758a944504f5520ae7
[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 NEWS.RU 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-cfgenc \
32                 bin/nncp-cfgmin \
33                 bin/nncp-cfgnew \
34                 bin/nncp-check \
35                 bin/nncp-daemon \
36                 bin/nncp-file \
37                 bin/nncp-freq \
38                 bin/nncp-log \
39                 bin/nncp-mail \
40                 bin/nncp-pkt \
41                 bin/nncp-reass \
42                 bin/nncp-rm \
43                 bin/nncp-stat \
44                 bin/nncp-toss \
45                 bin/nncp-xfer \
46                 "@sample etc/newsyslog.conf.d/nncp.conf.sample"
47
48 post-install:
49         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
50         ${INSTALL_DATA} ${WRKDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nncp.conf.sample
51
52 .include <bsd.port.mk>