pkgsrc/graphics/fujiplay/Makefile
jmmv 0a444fe780 Fix patch-aa (commited by me a while ago) as it contained a CVS Id string
which got replaced at commit time, thus breaking the patch.  Noticed by wiz@.
2005-04-23 10:55:59 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2005/04/23 10:55:59 jmmv Exp $
#
DISTNAME= fujiplay
PKGNAME= fujiplay-1.33
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://topo.math.u-psud.fr/~bousch/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://topo.math.u-psud.fr/~bousch/fujiplay.html
COMMENT= Download pictures from some Fujifilm digital cameras
DIST_SUBDIR= fujiplay-1.33
WRKSRC= ${WRKDIR}
SUBST_CLASSES+= cvsid
SUBST_MESSAGE.cvsid= "Removing CVS Ids from files."
SUBST_STAGE.cvsid= post-extract
SUBST_SED.cvsid= -e 's|\$$Id|Id|'
SUBST_SED.cvsid+= -e 's| \$$$$||'
SUBST_FILES.cvsid= fujiplay.c
xpost-patch:
cd ${WRKSRC} ; ${MV} fujiplay.c fujiplay.c.orig2 ; \
${SED} \
-e '791,794s/^/"/g' \
-e '791,793s/$$/\\n"/' \
-e '790,790s/".*$$//' \
<fujiplay.c.orig2 >fujiplay.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fujiplay ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/yycc2ppm ${PREFIX}/bin
${INSTALL_MAN_DIR} ${PREFIX}/share/doc/fujiplay
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/fujiplay
${INSTALL_MAN} ${WRKSRC}/fujiplay.lsm ${PREFIX}/share/doc/fujiplay
${INSTALL_MAN} ${WRKSRC}/mx700-commands.html ${PREFIX}/share/doc/fujiplay
.include "../../mk/bsd.pkg.mk"