[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / get_ds7

File: [cvs.NetBSD.org] / pkgsrc / graphics / get_ds7 / Makefile (download)

Revision 1.22, Thu May 29 23:36:37 2014 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.21: +2 -2 lines

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

# $NetBSD: Makefile,v 1.22 2014/05/29 23:36:37 wiz Exp $
#

DISTNAME=	get_ds7_1.2.4
PKGNAME=	get_ds7-1.2.4
PKGREVISION=	7
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

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"