Date: Sat, 23 Mar 2013 23:58:33 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/177323: [PATCH] graphics/hppsmtools: Convert to OptionsNG Message-ID: <20130323225836.53D5B2C8@hub.freebsd.org> Resent-Message-ID: <201303232300.r2NN0075068241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177323 >Category: ports >Synopsis: [PATCH] graphics/hppsmtools: Convert to OptionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 23 23:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 >Description: - Convert to OptionsNG - Shorten header - Add license Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- hppsmtools-1.1,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/hppsmtools/Makefile ./Makefile --- /usr/ports/graphics/hppsmtools/Makefile 2013-01-14 17:57:07.000000000 +0100 +++ ./Makefile 2013-03-23 23:54:33.000000000 +0100 @@ -1,9 +1,5 @@ -# New ports collection makefile for: hppsmtools -# Date created: 2 September 1999 -# Whom: Anders Nordby <anders@fix.no> -# +# Created by: Anders Nordby <anders@fix.no> # $FreeBSD: head/graphics/hppsmtools/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= hppsmtools PORTVERSION= 1.1 @@ -14,7 +10,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Tool for HP PhotoSmart C5340A & Konica Q-EZ digital cameras -PORTDOCS= README +LICENSE= GPLv2 + +PORTDOCS= README changes.txt PLIST_FILES= bin/psmdel bin/psmdir bin/psmget bin/psmsho post-patch: @@ -23,13 +21,15 @@ @${REINPLACE_CMD} -e '/typedef unsigned char/d' ${WRKSRC}/exif.h @${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/psm*.c +.include <bsd.port.options.mk> + do-install: .for file in psmdel psmdir psmget psmsho ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin .endfor -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> --- hppsmtools-1.1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130323225836.53D5B2C8>