freebsd-ports/graphics/fujiplay/Makefile

33 lines
811 B
Makefile

# Created by: KIRIYAMA Kazuhiko<kiri@pis.toba-cmt.ac.jp>
# $FreeBSD$
PORTNAME= fujiplay
PORTVERSION= 1.33
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://topo.math.u-psud.fr/~bousch/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Digital camera downloading tool for Fujifilm digital cameras
NO_WRKSUBDIR= yes
PLIST_FILES= bin/fujiplay bin/yycc2ppm
PORTDOCS= README fujiplay.lsm mx700-commands.html
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
do-install:
(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/fujiplay
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/share/doc/fujiplay
.endfor
.endif
.include <bsd.port.mk>