svn commit: r315177 - head/graphics/hppsmtools
Beech Rintoul
beech at FreeBSD.org
Sun Mar 24 22:51:19 UTC 2013
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 at 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 at fix.no>
-#
+# Created by: Anders Nordby <anders at fix.no>
# $FreeBSD$
-#
PORTNAME= hppsmtools
PORTVERSION= 1.1
@@ -14,7 +10,9 @@ MASTER_SITES= http://unimut.fsk.uni-heid
MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list