diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-14 13:02:17 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-14 13:02:17 +0000 |
commit | 1b53d8d89809315d6091077a404ba167e0fd6cfb (patch) | |
tree | 2d7db725dcd363eed6fd0d0646bf851c7ddbc11e /sysutils | |
parent | 63ad447f476dd7e829534c8e256188ac3c0868fd (diff) | |
download | ports-1b53d8d89809315d6091077a404ba167e0fd6cfb.tar.gz ports-1b53d8d89809315d6091077a404ba167e0fd6cfb.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/socklog/Makefile | 26 | ||||
-rw-r--r-- | sysutils/socklog/pkg-plist | 24 |
2 files changed, 20 insertions, 30 deletions
diff --git a/sysutils/socklog/Makefile b/sysutils/socklog/Makefile index 225c6d58fba3..6b5522193218 100644 --- a/sysutils/socklog/Makefile +++ b/sysutils/socklog/Makefile @@ -3,24 +3,29 @@ PORTNAME= socklog PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= sysutils net MASTER_SITES= http://smarden.org/socklog/ MAINTAINER= ports@FreeBSD.org COMMENT= Small and secure replacement for syslogd +LICENSE= BSD3CLAUSE + RUN_DEPENDS= ${LOCALBASE}/sbin/chpst:${PORTSDIR}/sysutils/runit WRKSRC= ${WRKDIR}/admin/${DISTNAME} ALL_TARGET= default -MAN1= tryto.1 uncat.1 -MAN8= socklog-check.8 socklog-conf.8 socklog.8 -DOCS= package/CHANGES package/COPYING package/README doc/*.html +TEXTDOCS= CHANGES COPYING README +HTMLDOCS= *.html +PORTDOCS= ${TEXTDOCS} ${HTMLDOCS} + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-configure: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc + ${ECHO_CMD} "${CC} -s ${LDFLAGS}" > ${WRKSRC}/src/conf-ld do-build: cd ${WRKSRC} && package/compile @@ -30,12 +35,11 @@ test: cd ${WRKSRC} && package/check do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/man/*.8 ${MANPREFIX}/man/man8 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif + ${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 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${TEXTDOCS:S,^,${WRKSRC}/package/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${HTMLDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/sysutils/socklog/pkg-plist b/sysutils/socklog/pkg-plist index 619257311b7b..04fdb7c26a53 100644 --- a/sysutils/socklog/pkg-plist +++ b/sysutils/socklog/pkg-plist @@ -3,22 +3,8 @@ bin/socklog-conf bin/socklog bin/tryto bin/uncat -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/benefits.html -%%PORTDOCS%%%%DOCSDIR%%/configuration.html -%%PORTDOCS%%%%DOCSDIR%%/examples.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/install.html -%%PORTDOCS%%%%DOCSDIR%%/network.html -%%PORTDOCS%%%%DOCSDIR%%/notify.html -%%PORTDOCS%%%%DOCSDIR%%/readme.solaris.html -%%PORTDOCS%%%%DOCSDIR%%/socklog-check.8.html -%%PORTDOCS%%%%DOCSDIR%%/socklog-conf.8.html -%%PORTDOCS%%%%DOCSDIR%%/socklog.8.html -%%PORTDOCS%%%%DOCSDIR%%/tryto.1.html -%%PORTDOCS%%%%DOCSDIR%%/uncat.1.html -%%PORTDOCS%%%%DOCSDIR%%/upgrade.html -%%PORTDOCS%%%%DOCSDIR%%/usedietlibc.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% +man/man1/tryto.1.gz +man/man1/uncat.1.gz +man/man8/socklog-check.8.gz +man/man8/socklog-conf.8.gz +man/man8/socklog.8.gz |