aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-17 19:35:07 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-17 19:35:07 +0800
commita27f914e992711d5f0aa20a3764116e5426a27a2 (patch)
treeac8e5f1b912ef870debfc641e5bfee89cff1a83c
parentcd5227d40e27cb9223eff8da03ac46cba0976440 (diff)
downloadfreebsd-ports-gnome-a27f914e992711d5f0aa20a3764116e5426a27a2.tar.gz
freebsd-ports-gnome-a27f914e992711d5f0aa20a3764116e5426a27a2.tar.zst
freebsd-ports-gnome-a27f914e992711d5f0aa20a3764116e5426a27a2.zip
- Handle license file via framework, don't install it as documentation
- Switch to options helpers
-rw-r--r--sysutils/socklog/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile
index 6b5522193218..be6e08967151 100644
--- a/sysutils/socklog/Makefile
+++ b/sysutils/socklog/Makefile
@@ -11,13 +11,14 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Small and secure replacement for syslogd
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/package/COPYING
RUN_DEPENDS= ${LOCALBASE}/sbin/chpst:${PORTSDIR}/sysutils/runit
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
ALL_TARGET= default
-TEXTDOCS= CHANGES COPYING README
+TEXTDOCS= CHANGES README
HTMLDOCS= *.html
PORTDOCS= ${TEXTDOCS} ${HTMLDOCS}
@@ -38,6 +39,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/*.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${TEXTDOCS:S,^,${WRKSRC}/package/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${HTMLDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}