blob: f2c50b09741bf2b50d723e2e9c25bb63dd4b5649 (
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
|
# $NetBSD: Makefile,v 1.15 2005/04/11 21:44:52 tv Exp $
#
DISTNAME= disc-cover-1.5.4
CATEGORIES= audio
MASTER_SITES= http://homepages.cwi.nl/~jvhemert/files/
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://homepages.cwi.nl/~jvhemert/disc-cover.html
COMMENT= Generation of CD covers
DEPENDS+= p5-Audio-CD>=0.05:../../audio/p5-Audio-CD
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/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|