From owner-svn-ports-head@FreeBSD.ORG Sat Sep 14 06:51:00 2013 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 ESMTP id 74F29122; Sat, 14 Sep 2013 06:51:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) 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 492E5258D; Sat, 14 Sep 2013 06:51:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8E6p0Vh012990; Sat, 14 Sep 2013 06:51:00 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8E6p0n9012984; Sat, 14 Sep 2013 06:51:00 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201309140651.r8E6p0n9012984@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 14 Sep 2013 06:51:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327223 - head/archivers/zip 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.14 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, 14 Sep 2013 06:51:00 -0000 Author: sunpoet Date: Sat Sep 14 06:50:59 2013 New Revision: 327223 URL: http://svnweb.freebsd.org/changeset/ports/327223 Log: - Update MASTER_SITES - While I'm here: - Cleanup Makefile header - Add LICENSE - Convert to new options framework - Simplify PORTDOCS installation PR: ports/182019 Submitted by: A. J. (maintainer) Modified: head/archivers/zip/Makefile Modified: head/archivers/zip/Makefile ============================================================================== --- head/archivers/zip/Makefile Sat Sep 14 06:48:02 2013 (r327222) +++ head/archivers/zip/Makefile Sat Sep 14 06:50:59 2013 (r327223) @@ -1,20 +1,22 @@ -# New ports collection makefile for: Info-ZIP -# Date created: 22 Dec 1994 -# Whom: Andrey Chernov -# +# Created by: Andrey Chernov # $FreeBSD$ -# PORTNAME= zip PORTVERSION= 3.0 CATEGORIES= archivers MASTER_SITES= SF/info${PORTNAME}/Zip%203.x%20%28latest%29/${PORTVERSION} \ - ftp://ftp.skysmurf.nl/FreeBSD/distfiles/ + http://www.skysmurf.nl/comp/FreeBSD/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} MAINTAINER= freebsd@skysmurf.nl COMMENT= Create/update ZIP files compatible with PKZIP +# License is BSD-based, but not identical, so intall with documentation +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + +OPTIONS_DEFINE= DOCS + MAKEFILE= unix/Makefile ALL_TARGET= generic @@ -22,18 +24,16 @@ PLIST_FILES= bin/zip bin/zipcloak bin/zi MAN1= zip.1 zipcloak.1 zipnote.1 zipsplit.1 PORTDOCS= * +.include do-install: .for p in ${PLIST_FILES:T} ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/${p}.1 ${MANPREFIX}/man/man1 .endfor -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -# License is BSD-based, but not identical, so intall with documentation -. for d in CHANGES LICENSE README* TODO WHATSNEW WHERE - ${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR} -. endfor +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES README* TODO WHATSNEW WHERE ${DOCSDIR} .endif .include