1 # New ports collection makefile for: hppsmtools
2 # Date created: 2 September 1999
3 # Whom: Anders Nordby <anders@fix.no>
5 # $FreeBSD: ports/graphics/hppsmtools/Makefile,v 1.15 2012/11/17 05:58:09 svnexp Exp $
12 MASTER_SITES= http://unimut.fsk.uni-heidelberg.de/demi/photosmart/
14 MAINTAINER= ports@FreeBSD.org
15 COMMENT= Tool for HP PhotoSmart C5340A & Konica Q-EZ digital cameras
18 PLIST_FILES= bin/psmdel bin/psmdir bin/psmget bin/psmsho
21 @${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \
22 s|-Wall -pedantic|$$(CFLAGS)|g' ${WRKSRC}/Makefile
23 @${REINPLACE_CMD} -e '/typedef unsigned char/d' ${WRKSRC}/exif.h
24 @${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/psm*.c
27 .for file in psmdel psmdir psmget psmsho
28 ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
30 .if !defined(NOPORTDOCS)
32 ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
35 .include <bsd.port.mk>