mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
3726f94254
This allows for port testing with lang/go-devel via GO_PORT, setting up the Go build environment in a single place, and is step one in simplifying Go ports that often define too complicated do-build targets themselves. USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and 'no_targets' for ports with composite builds that call 'go' themselves and do not need the do-build/do-install targets of USES=go. PR: 238849 Submitted by: dg@syrec.org (also D20745) Reviewed by: mat, tobik Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D20746
31 lines
731 B
Makefile
31 lines
731 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= nncp
|
|
DISTVERSION= 4.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.nncpgo.org/download/
|
|
|
|
MAINTAINER= stargrave@stargrave.org
|
|
COMMENT= Utilities for secure store-and-forward files, mail, command exchanging
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= go:no_targets tar:xz
|
|
MAKEFILE= BSDmakefile
|
|
USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss
|
|
INSTALL_TARGET= install-strip
|
|
|
|
SUB_FILES= pkg-message pkg-install pkg-deinstall
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS
|
|
INFO= nncp
|
|
MAKE_ARGS= INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample
|
|
|
|
.include <bsd.port.mk>
|