Date: Wed, 14 May 2014 13:02:17 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354051 - head/sysutils/socklog Message-ID: <201405141302.s4ED2Hxr027533@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed May 14 13:02:17 2014 New Revision: 354051 URL: http://svnweb.freebsd.org/changeset/ports/354051 QAT: https://qat.redports.org/buildarchive/r354051/ Log: - Support staging - Add LICENSE - Fix build on 10+ - Add OPTIONS PR: 189789 Submitted by: Tony Morlan <tony@scroner.com> Modified: head/sysutils/socklog/Makefile head/sysutils/socklog/pkg-plist Modified: head/sysutils/socklog/Makefile ============================================================================== --- head/sysutils/socklog/Makefile Wed May 14 12:43:59 2014 (r354050) +++ head/sysutils/socklog/Makefile Wed May 14 13:02:17 2014 (r354051) @@ -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> Modified: head/sysutils/socklog/pkg-plist ============================================================================== --- head/sysutils/socklog/pkg-plist Wed May 14 12:43:59 2014 (r354050) +++ head/sysutils/socklog/pkg-plist Wed May 14 13:02:17 2014 (r354051) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405141302.s4ED2Hxr027533>