]> Cypherpunks.ru repositories - nncp.git/blob - ports/nncp/Makefile
ACK
[nncp.git] / ports / nncp / Makefile
1 PORTNAME=       nncp
2 DISTVERSION=    8.6.0
3 CATEGORIES=     net
4 MASTER_SITES=   http://www.nncpgo.org/download/
5
6 MAINTAINER=     stargrave@stargrave.org
7 COMMENT=        Utilities for secure store-and-forward files, mail, command exchanging
8
9 LICENSE=        GPLv3
10 LICENSE_FILE=   ${WRKSRC}/COPYING
11
12 USES=           go:modules,no_targets tar:xz
13
14 USE_RC_SUBR=    nncp-caller nncp-daemon nncp-toss
15
16 MAKE_ARGS=      INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
17 MAKE_ENV=       ${GO_ENV}
18 INSTALL_TARGET= install-strip
19
20 SUB_FILES=      pkg-message pkg-install pkg-deinstall
21
22 INFO=           nncp
23 PORTDOCS=       AUTHORS NEWS NEWS.RU README README.RU THANKS
24
25 OPTIONS_DEFINE= DOCS
26
27 post-install:
28         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
29         ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample
30
31 .include <bsd.port.mk>