blob: 8e2e94261599fbd4caa7175aeb8c804715ed5674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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
PLIST_FILES= bin/psmdel bin/psmdir bin/psmget bin/psmsho
PORTDOCS= README changes.txt
OPTIONS_DEFINE= DOCS
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
do-install:
.for file in psmdel psmdir psmget psmsho
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|