diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-20 20:05:02 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-20 20:05:02 +0800 |
commit | 349cde78ce1b870c4bbc597e09c3e9b6274faa9b (patch) | |
tree | 9d2c74c5c199c42d01f1e69f203fb537a352014e /misc/upclient | |
parent | d3047eb204aec87f3015c96ab3c54169f01c63bc (diff) | |
download | freebsd-ports-gnome-349cde78ce1b870c4bbc597e09c3e9b6274faa9b.tar.gz freebsd-ports-gnome-349cde78ce1b870c4bbc597e09c3e9b6274faa9b.tar.zst freebsd-ports-gnome-349cde78ce1b870c4bbc597e09c3e9b6274faa9b.zip |
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'misc/upclient')
-rw-r--r-- | misc/upclient/Makefile | 7 |
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} |