From owner-svn-ports-head@FreeBSD.ORG Fri Sep 19 14:01:09 2014 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 ESMTPS id 3DD15116; Fri, 19 Sep 2014 14:01:09 +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 296067DE; Fri, 19 Sep 2014 14:01:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8JE19jL039336; Fri, 19 Sep 2014 14:01:09 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8JE18ep039334; Fri, 19 Sep 2014 14:01:08 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409191401.s8JE18ep039334@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Fri, 19 Sep 2014 14:01:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368563 - head/net/dictd 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.18-1 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: Fri, 19 Sep 2014 14:01:09 -0000 Author: tijl Date: Fri Sep 19 14:01:08 2014 New Revision: 368563 URL: http://svnweb.freebsd.org/changeset/ports/368563 QAT: https://qat.redports.org/buildarchive/r368563/ Log: - Switch to USES=libtool:build - Use @sample Modified: head/net/dictd/Makefile head/net/dictd/pkg-plist Modified: head/net/dictd/Makefile ============================================================================== --- head/net/dictd/Makefile Fri Sep 19 14:00:08 2014 (r368562) +++ head/net/dictd/Makefile Fri Sep 19 14:01:08 2014 (r368563) @@ -14,13 +14,12 @@ LICENSE= GPLv2 LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa USE_RC_SUBR= ${PORTNAME} -USES= bison libtool gmake -USE_AUTOTOOLS= libtoolize +USES= bison gmake libtool:build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \ --without-local-zlib CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib SUB_FILES+= dictd.conf pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} @@ -35,6 +34,6 @@ post-patch: @${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly] post-install: - @${CP} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include Modified: head/net/dictd/pkg-plist ============================================================================== --- head/net/dictd/pkg-plist Fri Sep 19 14:00:08 2014 (r368562) +++ head/net/dictd/pkg-plist Fri Sep 19 14:01:08 2014 (r368563) @@ -1,7 +1,5 @@ bin/dictzip +@sample etc/dictd.conf.sample man/man1/dictzip.1.gz man/man8/dictd.8.gz sbin/dictd -@unexec if cmp -s %D/etc/dictd.conf %D/etc/dictd.conf.sample; then rm -f %D/etc/dictd.conf; fi -etc/dictd.conf.sample -@exec [ -f %B/dictd.conf ] || cp %B/%f %B/dictd.conf