[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / disc-cover

File: [cvs.NetBSD.org] / pkgsrc / audio / disc-cover / Makefile (download)

Revision 1.27, Thu May 29 23:35:14 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.26: +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.27 2014/05/29 23:35:14 wiz Exp $
#

DISTNAME=	disc-cover-1.5.6
PKGREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	http://www.vanhemert.co.uk/files/

MAINTAINER=	drochner@NetBSD.org
HOMEPAGE=	http://www.vanhemert.co.uk/disc-cover.html
COMMENT=	Generation of CD covers

DEPENDS+=	p5-Audio-CD>=0.05:../../audio/p5-Audio-CD

USE_TOOLS+=		perl:run pod2man
REPLACE_PERL=		disc-cover

DCTMPL=			${PREFIX}/share/disc-cover/templates

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-build:
	cd ${WRKSRC} && ${POD2MAN} disc-cover > disc-cover.1
	${SED} "s|@DCTMPL@|${DCTMPL}|g" <${WRKSRC}/disc-cover \
		>${WRKDIR}/disc-cover

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/disc-cover ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/disc-cover.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_DATA_DIR} ${DESTDIR}${DCTMPL}
	${INSTALL_DATA} ${WRKSRC}/templates/* ${DESTDIR}${DCTMPL}

.include "../../mk/bsd.pkg.mk"