From owner-svn-ports-all@FreeBSD.ORG Sat Nov 10 12:27:38 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8F7A768; Sat, 10 Nov 2012 12:27:38 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9058FC0C; Sat, 10 Nov 2012 12:27:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAACRcAH007331; Sat, 10 Nov 2012 12:27:38 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAACRcX9007329; Sat, 10 Nov 2012 12:27:38 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201211101227.qAACRcX9007329@svn.freebsd.org> From: Pawel Pekala Date: Sat, 10 Nov 2012 12:27:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307274 - head/lang/diveintopython 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.14 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: Sat, 10 Nov 2012 12:27:38 -0000 Author: pawel Date: Sat Nov 10 12:27:38 2012 New Revision: 307274 URL: http://svnweb.freebsd.org/changeset/ports/307274 Log: - Remove DEPRECATED - Add LICENSE - Update MASTER_SITES and WWW: line PR: ports/172026 Submitted by: KATO Tsuguru Feature safe: yes Modified: head/lang/diveintopython/Makefile head/lang/diveintopython/pkg-descr Modified: head/lang/diveintopython/Makefile ============================================================================== --- head/lang/diveintopython/Makefile Sat Nov 10 12:14:49 2012 (r307273) +++ head/lang/diveintopython/Makefile Sat Nov 10 12:27:38 2012 (r307274) @@ -5,7 +5,7 @@ PORTNAME= diveintopython PORTVERSION= 5.4 #PORTREVISION= 1 CATEGORIES= lang python -MASTER_SITES= http://diveintopython.org/download/ +MASTER_SITES= http://www.diveintopython.net/download/ DISTNAME= ${PORTNAME} DISTFILES= ${DISTNAME}-html-${VERSIONSTR}${EXTRACT_SUFX} \ ${DISTNAME}-html-flat-${VERSIONSTR}${EXTRACT_SUFX} \ @@ -19,30 +19,31 @@ DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}-html-${VERSIONSTR}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org -COMMENT= A free Python tutorial book that is "not For Dummies(tm)" +COMMENT= Free Python tutorial book that is "not For Dummies(tm)" -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-11-26 +LICENSE= GFDL -NO_BUILD= YES -USE_ZIP= YES WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSIONSTR}/html +NO_BUILD= yes + +USE_ZIP= yes + +PLIST_SUB= VERSION="${VERSIONSTR}" + DIPDLDIR= ${DOCSDIR}/download -CPIO= cpio --quiet -pdum -R VERSIONSTR= ${PORTVERSION:C|(\.[^.]*)\.([^.]*)$|\1-\2|} -PLIST_SUB+= VERSION=${VERSIONSTR} post-patch: - @ ${FIND} ${WRKSRC} -name \*.html | xargs ${REINPLACE_CMD} \ + @ ${FIND} ${WRKSRC} -name \*.html | ${XARGS} ${REINPLACE_CMD} \ "s#http[^>]*\(download/${PORTNAME}-examples-${VERSIONSTR}.zip\)#\.\./\1#" do-install: @ ${MKDIR} ${DIPDLDIR} @ cd ${WRKSRC} && \ ${FIND} . -name \*.html -o -name \*.css -o -name \*.png \ - | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + | ${CPIO} --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} @ cd ${WRKSRC}/../py && ${FIND} * \ - | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} + | ${CPIO} --quiet -pdum -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .for format in html html-flat pdf text word xml common examples @ ${INSTALL_DATA} \ ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.zip \ Modified: head/lang/diveintopython/pkg-descr ============================================================================== --- head/lang/diveintopython/pkg-descr Sat Nov 10 12:14:49 2012 (r307273) +++ head/lang/diveintopython/pkg-descr Sat Nov 10 12:27:38 2012 (r307274) @@ -4,4 +4,4 @@ The book is published under the GNU Free available in a variety of formats. It is currently being translated into a number of languages. -WWW: http://diveintopython.org/ +WWW: http://www.diveintopython.net/