freebsd-ports/graphics/hppsmtools/Makefile
Beech Rintoul be00327d52 - Convert to OptionsNG
- Shorten header
- Add license

PR:		ports/177323
Submitted by:	nemysis <nemysis@gmx.ch>
2013-03-24 22:51:18 +00:00

35 lines
909 B
Makefile

# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= hppsmtools
PORTVERSION= 1.1
PORTEPOCH= 1
CATEGORIES= graphics
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
LICENSE= GPLv2
PORTDOCS= README changes.txt
PLIST_FILES= bin/psmdel bin/psmdir bin/psmget bin/psmsho
post-patch:
@${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \
s|-Wall -pedantic|$$(CFLAGS)|g' ${WRKSRC}/Makefile
@${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 ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>