1 # Created by: Anders Nordby <anders@fix.no>
2 # $FreeBSD: graphics/hppsmtools/Makefile 315177 2013-03-24 22:51:18Z beech $
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
19 @${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \
20 s|-Wall -pedantic|$$(CFLAGS)|g' ${WRKSRC}/Makefile
21 @${REINPLACE_CMD} -e '/typedef unsigned char/d' ${WRKSRC}/exif.h
22 @${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/psm*.c
24 .include <bsd.port.options.mk>
27 .for file in psmdel psmdir psmget psmsho
28 ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
30 .if ${PORT_OPTIONS:MDOCS}
32 ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
35 .include <bsd.port.mk>