1 # Created by: Anders Nordby <anders@fix.no>
2 # $FreeBSD: graphics/hppsmtools/Makefile 327733 2013-09-20 18:35:44Z bapt $
8 MASTER_SITES= http://unimut.fsk.uni-heidelberg.de/demi/photosmart/
10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Tool for HP PhotoSmart C5340A & Konica Q-EZ digital cameras
15 PORTDOCS= README changes.txt
16 PLIST_FILES= bin/psmdel bin/psmdir bin/psmget bin/psmsho
20 @${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \
21 s|-Wall -pedantic|$$(CFLAGS)|g' ${WRKSRC}/Makefile
22 @${REINPLACE_CMD} -e '/typedef unsigned char/d' ${WRKSRC}/exif.h
23 @${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/psm*.c
25 .include <bsd.port.options.mk>
28 .for file in psmdel psmdir psmget psmsho
29 ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
31 .if ${PORT_OPTIONS:MDOCS}
33 ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
36 .include <bsd.port.mk>