blob: 7662ed8c0d93a43b19f078f1167fce57cde1bc48 (
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
|
# $NetBSD: Makefile,v 1.13 2004/04/11 15:54:26 xtraeme 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
USE_BUILDLINK3= 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/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|