From owner-svn-ports-all@FreeBSD.ORG Sun May 11 01:26:31 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04C6B87E; Sun, 11 May 2014 01:26:31 +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 CC527243D; Sun, 11 May 2014 01:26:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4B1QUgl058807; Sun, 11 May 2014 01:26:30 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4B1QUlq058805; Sun, 11 May 2014 01:26:30 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201405110126.s4B1QUlq058805@svn.freebsd.org> From: Dmitry Marakasov Date: Sun, 11 May 2014 01:26:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353634 - 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-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: Sun, 11 May 2014 01:26:31 -0000 Author: amdmi3 Date: Sun May 11 01:26:30 2014 New Revision: 353634 URL: http://svnweb.freebsd.org/changeset/ports/353634 QAT: https://qat.redports.org/buildarchive/r353634/ Log: - Support staging - Convert USE_GMAKE to USES - Use new LIB_DEPENDS syntax - Switch to USES=libtool Modified: head/net/dictd/Makefile head/net/dictd/pkg-plist Modified: head/net/dictd/Makefile ============================================================================== --- head/net/dictd/Makefile Sat May 10 23:45:09 2014 (r353633) +++ head/net/dictd/Makefile Sun May 11 01:26:30 2014 (r353634) @@ -9,14 +9,11 @@ MASTER_SITES= SF/dict/${PORTNAME}/${PORT MAINTAINER?= clsung@FreeBSD.org COMMENT= Dict protocol (RFC 2229) server -LIB_DEPENDS= maa.3:${PORTSDIR}/devel/libmaa - -MAN1= dictzip.1 -MAN8= dictd.8 +LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa USE_RC_SUBR= ${PORTNAME} -USES= bison -USE_AUTOTOOLS= libtool +USES= bison libtool gmake +USE_AUTOTOOLS= libtoolize GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \ --without-local-zlib @@ -26,12 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES+= dictd.conf pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} -USE_GMAKE= yes - ALL_TARGET= dictd dictzip INSTALL_TARGET= install.dictd install.dictzip -NO_STAGE= yes post-patch: .for i in Makefile.in dict.1.in dictd.8.in @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$i @@ -39,8 +33,6 @@ post-patch: @${REINPLACE_CMD} -e "s|\([\ \t(]\)T_USER|\1T_USERNAME|g" ${WRKSRC}/*.[chly] post-install: - @${CP} ${WRKDIR}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample - @[ -f ${PREFIX}/etc/${PORTNAME}.conf ] || ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf - @${CAT} ${PKGMESSAGE} + @${CP} ${WRKDIR}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include Modified: head/net/dictd/pkg-plist ============================================================================== --- head/net/dictd/pkg-plist Sat May 10 23:45:09 2014 (r353633) +++ head/net/dictd/pkg-plist Sun May 11 01:26:30 2014 (r353634) @@ -1,4 +1,6 @@ bin/dictzip +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