From owner-svn-ports-head@FreeBSD.ORG Mon May 27 14:38:08 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8CB1686C; Mon, 27 May 2013 14:38:08 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 649F180B; Mon, 27 May 2013 14:38:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4REc8b3028295; Mon, 27 May 2013 14:38:08 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4REc8KG028294; Mon, 27 May 2013 14:38:08 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201305271438.r4REc8KG028294@svn.freebsd.org> From: Boris Samorodov Date: Mon, 27 May 2013 14:38:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319251 - head/sysutils/metalog X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 14:38:08 -0000 Author: bsam Date: Mon May 27 14:38:07 2013 New Revision: 319251 URL: http://svnweb.freebsd.org/changeset/ports/319251 Log: . remove shlib ABI cersion from LIB_DEPENDS; . remove LICENSE_FILE of the standard one (GPLv2); . bump PORTREVISION; . trim Makefile headers; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . NOPORTEXAMPLES -> PORT_OPTIONS:MEXAMPLES; . do not run mkdir for the same directory multiple times; . use plain install instead of .for loops. Modified: head/sysutils/metalog/Makefile Modified: head/sysutils/metalog/Makefile ============================================================================== --- head/sysutils/metalog/Makefile Mon May 27 14:36:55 2013 (r319250) +++ head/sysutils/metalog/Makefile Mon May 27 14:38:07 2013 (r319251) @@ -1,13 +1,9 @@ -# New ports collection makefile for: metalog -# Date Created: 27 Aug 2002 -# Whom: Sergei Kolobov -# +# Created by: Sergei Kolobov # $FreeBSD$ -# PORTNAME= metalog DISTVERSION= 0.8 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/old @@ -16,9 +12,8 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Modern syslogd replacement with PCRE support LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre +LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre USE_BZIP2= yes USE_RC_SUBR= ${PORTNAME} @@ -35,21 +30,21 @@ PORTDOCS= AUTHORS NEWS README PORTEXAMPLES= metalog.conf PLIST_FILES= sbin/metalog +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/man/*[58] +.include + post-install: -.if !defined(NOPORTDOCS) -.for doc in ${PORTDOCS} +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} -.for ex in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${ex} ${EXAMPLESDIR} -.endfor + ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR} .endif .include