From owner-svn-ports-head@FreeBSD.ORG Tue Sep 24 16:31:34 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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A5B3870E; Tue, 24 Sep 2013 16:31:34 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 93940289C; Tue, 24 Sep 2013 16:31:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8OGVYG6097706; Tue, 24 Sep 2013 16:31:34 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8OGVY0I097704; Tue, 24 Sep 2013 16:31:34 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201309241631.r8OGVY0I097704@svn.freebsd.org> From: "Vanilla I. Shu" Date: Tue, 24 Sep 2013 16:31:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328160 - head/devel/mq4cpp 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: Tue, 24 Sep 2013 16:31:34 -0000 Author: vanilla Date: Tue Sep 24 16:31:33 2013 New Revision: 328160 URL: http://svnweb.freebsd.org/changeset/ports/328160 Log: 1: add STAGEDIR support. 2: make DOCS as option. Modified: head/devel/mq4cpp/Makefile head/devel/mq4cpp/pkg-plist Modified: head/devel/mq4cpp/Makefile ============================================================================== --- head/devel/mq4cpp/Makefile Tue Sep 24 16:31:11 2013 (r328159) +++ head/devel/mq4cpp/Makefile Tue Sep 24 16:31:33 2013 (r328160) @@ -9,6 +9,8 @@ MASTER_SITES= http://www.sixtyfourbit.or MAINTAINER= vanilla@FreeBSD.org COMMENT= Message Queuing for C++ +OPTIONS_DEFINE= DOCS + USE_LDCONFIG= yes USE_AUTOTOOLS= libtool USES= pathfix pkgconfig @@ -17,5 +19,13 @@ USE_BZIP2= yes USE_DOS2UNIX= yes GNU_CONFIGURE= yes -NO_STAGE= yes +.include + +post-patch: +.if empty(PORT_OPTIONS:MDOCS) + ${REINPLACE_CMD} -e \ + '/^install-data-am:/ s|install-docDATA||' \ + ${WRKSRC}/Makefile.in +.endif + .include Modified: head/devel/mq4cpp/pkg-plist ============================================================================== --- head/devel/mq4cpp/pkg-plist Tue Sep 24 16:31:11 2013 (r328159) +++ head/devel/mq4cpp/pkg-plist Tue Sep 24 16:31:33 2013 (r328160) @@ -29,13 +29,13 @@ lib/libmq4cpp.la lib/libmq4cpp.so lib/libmq4cpp.so.1 libdata/pkgconfig/mq4cpp.pc -%%DOCSDIR%%/AUTHORS -%%DOCSDIR%%/ChangeLog -%%DOCSDIR%%/COPYING -%%DOCSDIR%%/INSTALL -%%DOCSDIR%%/NEWS -%%DOCSDIR%%/README -%%DOCSDIR%%/LICENSE -%%DOCSDIR%%/TODO -@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/mq4cpp