From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 14:42:55 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 DA5F7F0E; Sun, 26 Jan 2014 14:42:55 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC9A91D1A; Sun, 26 Jan 2014 14:42:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QEgtrb078171; Sun, 26 Jan 2014 14:42:55 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0QEgtT9078169; Sun, 26 Jan 2014 14:42:55 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201401261442.s0QEgtT9078169@svn.freebsd.org> From: Mathieu Arnold Date: Sun, 26 Jan 2014 14:42:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341190 - head/textproc/dict 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.17 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: Sun, 26 Jan 2014 14:42:55 -0000 Author: mat Date: Sun Jan 26 14:42:54 2014 New Revision: 341190 URL: http://svnweb.freebsd.org/changeset/ports/341190 QAT: https://qat.redports.org/buildarchive/r341190/ Log: - Convert to staging - Use new LIB_DEPENDS - Add license Sponsored by: Absolight Modified: head/textproc/dict/Makefile head/textproc/dict/pkg-plist Modified: head/textproc/dict/Makefile ============================================================================== --- head/textproc/dict/Makefile Sun Jan 26 14:34:24 2014 (r341189) +++ head/textproc/dict/Makefile Sun Jan 26 14:42:54 2014 (r341190) @@ -10,21 +10,20 @@ DISTNAME= ${PORTNAME}d-${PORTVERSION} MAINTAINER= clsung@FreeBSD.org COMMENT= Dictionary Server Protocol (RFC2229) client -LIB_DEPENDS= maa.3:${PORTSDIR}/devel/libmaa +LICENSE= GPLv2 -USES= bison +LIB_DEPENDS= libmaa.so:${PORTSDIR}/devel/libmaa + +USES= bison gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \ --with-etcdir=${PREFIX}/etc CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -USE_GMAKE= yes USE_AUTOTOOLS= libtool ALL_TARGET= dict INSTALL_TARGET= install.dict -MAN1= dict.1 dictl.1 dict_lookup.1 -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in @@ -32,9 +31,6 @@ post-configure: ${REINPLACE_CMD} -e 's|^ mkdir| mkdir|g' ${WRKSRC}/Makefile post-install: - ${INSTALL_DATA} ${FILESDIR}/dict.conf ${PREFIX}/etc/dict.conf.sample - if [ ! -f ${PREFIX}/etc/dict.conf ]; then \ - ${CP} -p ${PREFIX}/etc/dict.conf.sample ${PREFIX}/etc/dict.conf; \ - fi + ${INSTALL_DATA} ${FILESDIR}/dict.conf ${STAGEDIR}${PREFIX}/etc/dict.conf.sample .include Modified: head/textproc/dict/pkg-plist ============================================================================== --- head/textproc/dict/pkg-plist Sun Jan 26 14:34:24 2014 (r341189) +++ head/textproc/dict/pkg-plist Sun Jan 26 14:42:54 2014 (r341190) @@ -1,6 +1,9 @@ bin/dict bin/dict_lookup bin/dictl +man/man1/dict.1.gz +man/man1/dictl.1.gz +man/man1/dict_lookup.1.gz @unexec if cmp -s %D/etc/dict.conf.sample %D/etc/dict.conf; then rm -f %D/etc/dict.conf; fi etc/dict.conf.sample @exec [ -f %B/dict.conf ] || cp %B/%f %B/dict.conf