From owner-svn-ports-head@FreeBSD.ORG Tue May 21 09:05:14 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C73DEE18; Tue, 21 May 2013 09:05:14 +0000 (UTC) (envelope-from danfe@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 B9C20BC; Tue, 21 May 2013 09:05:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4L95Eci004489; Tue, 21 May 2013 09:05:14 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4L95E5h004487; Tue, 21 May 2013 09:05:14 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201305210905.r4L95E5h004487@svn.freebsd.org> From: Alexey Dokuchaev Date: Tue, 21 May 2013 09:05:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318664 - in head/emulators/hfs: . scripts 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: Tue, 21 May 2013 09:05:14 -0000 Author: danfe Date: Tue May 21 09:05:14 2013 New Revision: 318664 URL: http://svnweb.freebsd.org/changeset/ports/318664 Log: - Trim Makefile header per new world order - Use DISTVERSION because it contains underscore instead of dot - Define LICENSE (GPLv2) - Install README file (as PORTDOCS) - Remove custom configure script: pass variables to make(1) instead - Respect CFLAGS (original "-O" probably was sensible default 18.5 years ago when the port was first added, but makes no sense now) - Remove no-op `pre-install' target (do not create directories that are part of the mtree) - Cleanup and reformat port description while here This port (along with similar `emulators/hfsutils') should probably be moved to sysutils; `sysutils/hfsexplorer' already lives there. Deleted: head/emulators/hfs/scripts/ Modified: head/emulators/hfs/Makefile head/emulators/hfs/pkg-descr Modified: head/emulators/hfs/Makefile ============================================================================== --- head/emulators/hfs/Makefile Tue May 21 08:59:02 2013 (r318663) +++ head/emulators/hfs/Makefile Tue May 21 09:05:14 2013 (r318664) @@ -1,33 +1,41 @@ -# New ports collection makefile for: hfs -# Date created: 17 November 1994 -# Whom: jmz -# +# Created by: Jean-Marc Zucconi # $FreeBSD$ -# PORTNAME= hfs -PORTVERSION= 0.37 +DISTVERSION= 0_37 PORTREVISION= 1 CATEGORIES= emulators -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= jmz -DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/} +MASTER_SITES= LOCAL/jmz +DISTNAME= ${PORTNAME}${DISTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Read Macintosh HFS floppy disks, hard drives, and CDROMs +COMMENT= Read Macintosh HFS floppy disks, hard drives, and CD-ROMs + +LICENCE= GPLv2 CONFLICTS= hfsutils-[0-9]* USE_GMAKE= yes +MAKE_ARGS= CCPLUSPLUS="${CXX} -c" LD="${CXX}" DEBUG="${CFLAGS}" \ + INSTALLPATH="${PREFIX}" MANINSTALLDIR="${MANPREFIX}/man/man1" + MAN1= hfs.1 PLIST_FILES= bin/hfs +PORTDOCS= README + +OPTIONS_DEFINE= DOCS + +.include post-patch: + @${REINPLACE_CMD} -e 's|/usr/.* ||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|Volume::Enumerate|Enumerate|' \ ${WRKSRC}/volume.h -pre-install: - @${MKDIR} ${PREFIX}/bin - @${MKDIR} ${PREFIX}/man/man1 +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif .include Modified: head/emulators/hfs/pkg-descr ============================================================================== --- head/emulators/hfs/pkg-descr Tue May 21 08:59:02 2013 (r318663) +++ head/emulators/hfs/pkg-descr Tue May 21 09:05:14 2013 (r318664) @@ -1,10 +1,9 @@ -hfs provides a command line interface to suite of functions for -accessing Macintosh HFS floppy disks, hard drives and CD-ROMS. The -following functions are available: +This port provides command line utility for accessing Macintosh HFS floppy +disks, hard drives, and CD-ROMs. The following functions are available: -- display a directory listing (ls, dir) -- change directories (cd) -- display the name of the current directory (pwd) -- copy an HFS file into a local file (read) -- display the contents of an HFS file (cat) -- display the partition table on a Macintosh volume. + - Display a directory listing (ls, dir) + - Change directories (cd) + - Display the name of the current directory (pwd) + - Copy an HFS file into a local file (read) + - Display the contents of an HFS file (cat) + - Display the partition table on a Macintosh volume