diff options
author | beech <beech@FreeBSD.org> | 2013-03-25 06:51:18 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2013-03-25 06:51:18 +0800 |
commit | 523391612e8c6df6001c16c298fe94e1948d75a9 (patch) | |
tree | 17d3f9d44bb48630c05e6abf10d716dd03ae9495 | |
parent | e0baa5dd908a6c83291882a52e40b11ec4dc30ff (diff) | |
download | freebsd-ports-gnome-523391612e8c6df6001c16c298fe94e1948d75a9.tar.gz freebsd-ports-gnome-523391612e8c6df6001c16c298fe94e1948d75a9.tar.zst freebsd-ports-gnome-523391612e8c6df6001c16c298fe94e1948d75a9.zip |
- Convert to OptionsNG
- Shorten header
- Add license
PR: ports/177323
Submitted by: nemysis <nemysis@gmx.ch>
-rw-r--r-- | graphics/hppsmtools/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/hppsmtools/Makefile b/graphics/hppsmtools/Makefile index e5d4f7f712f5..4365b6148c24 100644 --- a/graphics/hppsmtools/Makefile +++ b/graphics/hppsmtools/Makefile @@ -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-heidelberg.de/demi/photosmart/ 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> |