Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 22:51:19 +0000 (UTC)
From:      Beech Rintoul <beech@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315177 - head/graphics/hppsmtools
Message-ID:  <201303242251.r2OMpJf4058694@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beech
Date: Sun Mar 24 22:51:18 2013
New Revision: 315177
URL: http://svnweb.freebsd.org/changeset/ports/315177

Log:
  - Convert to OptionsNG
  - Shorten header
  - Add license
  
  PR:		ports/177323
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/hppsmtools/Makefile   (contents, props changed)

Modified: head/graphics/hppsmtools/Makefile
==============================================================================
--- head/graphics/hppsmtools/Makefile	Sun Mar 24 22:49:51 2013	(r315176)
+++ head/graphics/hppsmtools/Makefile	Sun Mar 24 22:51:18 2013	(r315177)
@@ -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$
-#
 
 PORTNAME=	hppsmtools
 PORTVERSION=	1.1
@@ -14,7 +10,9 @@ MASTER_SITES=	http://unimut.fsk.uni-heid
 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 @@ post-patch:
 	@${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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303242251.r2OMpJf4058694>