summaryrefslogtreecommitdiff
path: root/audio/cuetools/Makefile
blob: 48beb94d5cd4f4f7649c7a778974c8f4e8b68964 (plain) (blame)
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
33
34
# New ports collection makefile for:	cuetools
# Date created:		30 December 2003
# Whom:			Vincent Tantardini <vinc@FreeBSD-fr.org>
#
# $FreeBSD$
#

PORTNAME=	cuetools
PORTVERSION=	0.4
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A set of utilities for working with cue files and toc files

USE_REINPLACE=	yes

pre-patch:
	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${MKDIR} ${EXAMPLESDIR}
.for F in README README.formats ChangeLog
	${INSTALL_MAN} ${WRKSRC}/${F} ${DOCSDIR}
.endfor
.for E in EXAMPLE.cuerenamerc EXAMPLE.useage
	${INSTALL_MAN} ${WRKSRC}/${E} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>