From owner-svn-ports-all@FreeBSD.ORG Tue Jun 24 07:17:29 2014 Return-Path: Delivered-To: svn-ports-all@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 ESMTPS id 0397285C; Tue, 24 Jun 2014 07:17:29 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBC6D2712; Tue, 24 Jun 2014 07:17:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5O7HSLt046297; Tue, 24 Jun 2014 07:17:28 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5O7HSas046291; Tue, 24 Jun 2014 07:17:28 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201406240717.s5O7HSas046291@svn.freebsd.org> From: "Vanilla I. Shu" Date: Tue, 24 Jun 2014 07:17:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359050 - head/net/vortex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 07:17:29 -0000 Author: vanilla Date: Tue Jun 24 07:17:28 2014 New Revision: 359050 URL: http://svnweb.freebsd.org/changeset/ports/359050 QAT: https://qat.redports.org/buildarchive/r359050/ Log: 1: Stagify. 2: use @sample on pkg-plist. Approved by: portmgr@ (blanket approval) Modified: head/net/vortex/Makefile head/net/vortex/pkg-plist Modified: head/net/vortex/Makefile ============================================================================== --- head/net/vortex/Makefile Tue Jun 24 07:12:00 2014 (r359049) +++ head/net/vortex/Makefile Tue Jun 24 07:17:28 2014 (r359050) @@ -19,19 +19,14 @@ LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11 WRKSRC= ${WRKDIR}/${PORTNAME}-2.9.0 USE_GNOME= glib20 -NO_STAGE= yes - do-build: cd ${WRKSRC} && ${CC} -c vortex.c -I${LOCALBASE}/include cd ${WRKSRC} && ${CC} -v -o vortex vortex.o -L${LOCALBASE}/lib ${LOCALBASE}/lib/libnids.a `${LIBNET_CONFIG} --libs` -lglib-2.0 -lgthread-2.0 -lpcap cd ${WRKSRC} && ${CC} -o xpipes xpipes.c ${PTHREAD_LIBS} do-install: - ${INSTALL_DATA} ${WRKSRC}/vortex.conf ${PREFIX}/etc/vortex.conf.sample - if [ ! -f ${PREFIX}/etc/vortex.conf ]; then \ - ${CP} -p ${PREFIX}/etc/vortex.conf.sample ${PREFIX}/etc/vortex.conf; \ - fi - ${INSTALL_PROGRAM} ${WRKSRC}/vortex ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/xpipes ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/vortex.conf ${STAGEDIR}${PREFIX}/etc/vortex.conf.sample + ${INSTALL_PROGRAM} ${WRKSRC}/vortex ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/xpipes ${STAGEDIR}${PREFIX}/bin .include Modified: head/net/vortex/pkg-plist ============================================================================== --- head/net/vortex/pkg-plist Tue Jun 24 07:12:00 2014 (r359049) +++ head/net/vortex/pkg-plist Tue Jun 24 07:17:28 2014 (r359050) @@ -1,5 +1,3 @@ bin/vortex bin/xpipes -@unexec if cmp -s %D/etc/vortex.conf.sample %D/etc/vortex.conf; then rm -f %D/etc/vortex.conf; fi -etc/vortex.conf.sample -@exec if [ ! -f %D/etc/vortex.conf ]; then cp -p %D/%F %B/vortex.conf; fi +@sample etc/vortex.conf.sample