summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-20 12:05:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-20 12:05:02 +0000
commit4e5d900e03ba1f166df6915781d465bb82884d1c (patch)
tree9d2c74c5c199c42d01f1e69f203fb537a352014e /misc
parent- Add LICENSE (diff)
- Add LICENSE
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=402070
Diffstat (limited to 'misc')
-rw-r--r--misc/upclient/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile
index e4f6583489c3..5a7acd82d435 100644
--- a/misc/upclient/Makefile
+++ b/misc/upclient/Makefile
@@ -12,7 +12,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Uptimes project client
-OPTIONS_DEFINE= DOCS
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= gettext
USE_RC_SUBR= upclient
@@ -28,6 +29,8 @@ DOC_FILES= AUTHORS COPYING FAQ HISTORY INSTALL README TODO
DOC_FILES+= doc/UptimesProtocol5
DOC_FILES+= HISTORY-BETA
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${MV} ${WRKSRC}/doc/"Uptimes Protocol 5" ${WRKSRC}/doc/UptimesProtocol5
@@ -48,6 +51,8 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/clientchk \
${STAGEDIR}${PREFIX}/sbin
@(cd ${WRKSRC}/src; ${MAKE_CMD} destdir=${STAGEDIR} install-locales)
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}