From owner-svn-ports-head@FreeBSD.ORG Sat Sep 6 18:51:47 2014 Return-Path: Delivered-To: svn-ports-head@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 ECD24C7F; Sat, 6 Sep 2014 18:51:47 +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 CCBE018A4; Sat, 6 Sep 2014 18:51:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s86Ipl4W059680; Sat, 6 Sep 2014 18:51:47 GMT (envelope-from ak@FreeBSD.org) Received: (from ak@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s86Ipl0w059676; Sat, 6 Sep 2014 18:51:47 GMT (envelope-from ak@FreeBSD.org) Message-Id: <201409061851.s86Ipl0w059676@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ak set sender to ak@FreeBSD.org using -f From: Alex Kozlov Date: Sat, 6 Sep 2014 18:51:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367466 - in head/ports-mgmt/pkg_replace: . files 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: Sat, 06 Sep 2014 18:51:48 -0000 Author: ak Date: Sat Sep 6 18:51:46 2014 New Revision: 367466 URL: http://svnweb.freebsd.org/changeset/ports/367466 QAT: https://qat.redports.org/buildarchive/r367466/ Log: - Update to 20140721 * Increase pkg_replace compatibility with portupgrade - Update MASTER_SITES - Remove support for pkg_tools - Use PLIST_FILES PR: 193304 Submitted by: Ken DEGUCHI (maintainer) Added: head/ports-mgmt/pkg_replace/files/ head/ports-mgmt/pkg_replace/files/pkg-message.in (contents, props changed) Deleted: head/ports-mgmt/pkg_replace/pkg-plist Modified: head/ports-mgmt/pkg_replace/Makefile head/ports-mgmt/pkg_replace/distinfo head/ports-mgmt/pkg_replace/pkg-descr Modified: head/ports-mgmt/pkg_replace/Makefile ============================================================================== --- head/ports-mgmt/pkg_replace/Makefile Sat Sep 6 18:49:15 2014 (r367465) +++ head/ports-mgmt/pkg_replace/Makefile Sat Sep 6 18:51:46 2014 (r367466) @@ -2,41 +2,41 @@ # $FreeBSD$ PORTNAME= pkg_replace -PORTVERSION= 0.8.0 -PORTREVISION= 10 +PORTVERSION= 20140721 CATEGORIES= ports-mgmt -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} -MASTER_SITE_SUBDIR= portutil/22116 - -PATCH_SITES= http://member.tokoha-u.ac.jp/~kdeguchi/download/ -PATCHFILES= ${PKGNAME}.patch +MASTER_SITES= http://member.tokoha-u.ac.jp/~kdeguchi/download/ MAINTAINER= kdeguchi@sz.tokoha-u.ac.jp COMMENT= Utility for upgrading installed packages -USES= tar:bzip2 +USES= tar:xz NO_ARCH= yes +NO_BUILD= yes -MAKE_ARGS= PREFIX="${PREFIX}" \ - PORTSDIR="${PORTSDIR}" PKG_DBDIR="${PKG_DBDIR}" +PLIST_FILES= sbin/pkg_replace \ + man/man1/pkg_replace.1.gz \ + "@sample %%ETCDIR%%/pkg_replace.conf.sample" +PLIST_DIRSTRY= %%ETCDIR%% -OPTIONS_DEFINE= PKGDB_FIX ZSH -PKGDB_FIX_DESC= Fixing tool of installed package dependencies +SUB_FILES= pkg-message -OPTIONS_SUB= yes +PORTDOCS= README README.ja -.include +OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e 's/pkg_replace/pkg_replace pkgdb_fix/' ${WRKSRC}/sbin/Makefile - @${REINPLACE_CMD} -e 's/mkdir -p $${FILESDIR}/@true/' ${WRKSRC}/share/zsh/Makefile - -pre-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g;s|%%PKGCOMPATDIR%%|${PKGCOMPATDIR}|g' \ + ${WRKSRC}/${PORTNAME}.sh -.if defined(WITH_PKGNG) -post-install: - @${REINPLACE_CMD} -e '/pkgdb_fix/d' ${TMPPLIST} -.endif +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ + ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1/ + @${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \ + ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Modified: head/ports-mgmt/pkg_replace/distinfo ============================================================================== --- head/ports-mgmt/pkg_replace/distinfo Sat Sep 6 18:49:15 2014 (r367465) +++ head/ports-mgmt/pkg_replace/distinfo Sat Sep 6 18:51:46 2014 (r367466) @@ -1,4 +1,2 @@ -SHA256 (pkg_replace-0.8.0.tar.bz2) = 3092f5fc0d18529eb5d38776941c0ee4d0073ecb524ab17671c81ca69c29e214 -SIZE (pkg_replace-0.8.0.tar.bz2) = 17296 -SHA256 (pkg_replace-0.8.0_10.patch) = a34f12d261e4b273adb35faabe3551a783ae34a8ff8c626a444c7001a398e351 -SIZE (pkg_replace-0.8.0_10.patch) = 13283 +SHA256 (pkg_replace-20140721.tar.xz) = da26e02304850b295491f3e4526051ac2f414c87be0837dc611cf8aff0dbd24f +SIZE (pkg_replace-20140721.tar.xz) = 16232 Added: head/ports-mgmt/pkg_replace/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/pkg_replace/files/pkg-message.in Sat Sep 6 18:51:46 2014 (r367466) @@ -0,0 +1,16 @@ +!!! ATTENTION !!! + +pkg_replace options changed. For more information, +refer to pkg_replace(1). + +----------------------------------------------------- +You can use various features. + +-IGNORE, USE_PKGS +-BEFOREBUILD, AFTERBUILD, BEFOREINSTALL, AFTERINSTALL +-User defined functions + +See examples in %%ETCDIR%%/pkg_replace.conf.sample. + +If you want to use those features, +edit "%%ETCDIR%%/pkg_replace.conf". Modified: head/ports-mgmt/pkg_replace/pkg-descr ============================================================================== --- head/ports-mgmt/pkg_replace/pkg-descr Sat Sep 6 18:49:15 2014 (r367465) +++ head/ports-mgmt/pkg_replace/pkg-descr Sat Sep 6 18:51:46 2014 (r367466) @@ -3,5 +3,3 @@ It is compatible with portupgrade and ca an alternative to portupgrade and portmaster. WWW: http://portutil.sourceforge.jp - -Securedog