blob: e7a8618f52467a164683ef648216b54db2fa545d (
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
34
35
36
37
38
39
40
41
|
# $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"
|