Date: Tue, 24 Jun 2014 06:51:39 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359045 - head/net/traff Message-ID: <201406240651.s5O6pdUv033635@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Tue Jun 24 06:51:38 2014 New Revision: 359045 URL: http://svnweb.freebsd.org/changeset/ports/359045 QAT: https://qat.redports.org/buildarchive/r359045/ Log: 1: Stagify. 2: use @sample on pkg-plist, bump version. Approved by: portmgr@ (blanket approval) Modified: head/net/traff/Makefile head/net/traff/pkg-plist Modified: head/net/traff/Makefile ============================================================================== --- head/net/traff/Makefile Tue Jun 24 06:48:54 2014 (r359044) +++ head/net/traff/Makefile Tue Jun 24 06:51:38 2014 (r359045) @@ -3,6 +3,7 @@ PORTNAME= traff PORTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= net net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -20,7 +21,6 @@ LIBS+= -L${LOCALBASE}/lib -largp OPTIONS_DEFINE= MYSQL PGSQL OPTIONS_DEFAULT= MYSQL -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} @@ -42,10 +42,7 @@ post-configure: ${WRKSRC}/Makefile ${WRKSRC}/traff.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/traff ${PREFIX}/sbin -. if !exists(${PREFIX}/etc/traff.conf) - ${INSTALL_DATA} ${WRKSRC}/traff.conf ${PREFIX}/etc -. endif - ${INSTALL_DATA} ${WRKSRC}/traff.conf ${PREFIX}/etc/traff.conf.default + ${INSTALL_PROGRAM} ${WRKSRC}/traff ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_DATA} ${WRKSRC}/traff.conf ${STAGEDIR}${PREFIX}/etc/traff.conf.sample .include <bsd.port.mk> Modified: head/net/traff/pkg-plist ============================================================================== --- head/net/traff/pkg-plist Tue Jun 24 06:48:54 2014 (r359044) +++ head/net/traff/pkg-plist Tue Jun 24 06:51:38 2014 (r359045) @@ -1,3 +1,2 @@ -@unexec if cmp -s %D/etc/traff.conf %D/etc/traff.conf.default; then rm -f %D/etc/traff.conf; fi -etc/traff.conf.default +@sample etc/traff.conf.sample sbin/traff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406240651.s5O6pdUv033635>