blob: e2afa225879a016d063ed55940e95bdd884c360c (
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.18 2011/08/14 12:59:47 obache Exp $
#
DISTNAME= get_ds7_1.2.4
PKGNAME= get_ds7-1.2.4
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.yk.rim.or.jp/~mamo/Computer/DS-7/
EXTRACT_SUFX= .tar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.yk.rim.or.jp/~mamo/Computer/DS-7/index-e.html
COMMENT= Read pictures from a FUJIFILM DS-7(DS series) digital camera
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= perl:run
WRKSRC= ${WRKDIR}/ds-7_1.2.4
PERL5_CONFIGURE= no
NO_BUILD= yes
DOCDIR= ${PREFIX}/share/doc/get_ds7
INSTALLATION_DIRS= bin
post-patch:
${SED} -e "s,/usr/bin/perl,${PERL5}," \
<${WRKSRC}/get_ds7 >${WRKSRC}/get_ds7.exe
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PERL5_INSTALLVENDORLIB}
${INSTALL_DATA} ${WRKSRC}/ds7_lib.pm ${DESTDIR}${PERL5_INSTALLVENDORLIB}
${INSTALL_SCRIPT} ${WRKSRC}/get_ds7.exe ${DESTDIR}${PREFIX}/bin/get_ds7
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
${INSTALL_MAN} ${WRKSRC}/README.english ${DESTDIR}${DOCDIR}
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|