pkgsrc/audio/disc-cover/Makefile

32 lines
883 B
Makefile

# $NetBSD: Makefile,v 1.11 2003/08/22 18:33:05 drochner Exp $
#
DISTNAME= disc-cover-1.5.2
CATEGORIES= audio
MASTER_SITES= http://home.wanadoo.nl/~jano/files/
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://home.wanadoo.nl/~jano/disc-cover.html
COMMENT= Generation of CD covers
DEPENDS+= p5-Audio-CD-0.05:../../audio/p5-Audio-CD
USE_BUILDLINK2= YES
REPLACE_PERL= disc-cover
DCTMPL= ${PREFIX}/share/disc-cover/templates
do-build:
cd ${WRKSRC} && ${BUILDLINK_PREFIX.perl}/bin/pod2man \
disc-cover > disc-cover.1
${SED} "s|@DCTMPL@|${DCTMPL}|g" <${WRKSRC}/disc-cover \
>${WRKDIR}/disc-cover
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/disc-cover ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/disc-cover.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${DCTMPL}
${INSTALL_DATA} ${WRKSRC}/templates/* ${DCTMPL}
.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"