summaryrefslogtreecommitdiffstats
path: root/audio/cdplay/Makefile
blob: 71a3e8eb378fcedd2ce20545344ba5cebe594ae7 (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
33
34
35
# Created by: Antti Kaipila <anttik@iki.fi>
# $FreeBSD$

PORTNAME=	cdplay
PORTVERSION=	0.92
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	dannyboy

MAINTAINER=	ports@FreeBSD.org
COMMENT=	CD-player with text-based user interface

MAKE_ARGS=	CFLAGS="${CFLAGS} -c -ansi"	\
		BINPATH="${PREFIX}/bin/"	\
		MANPATH="${MANPREFIX}/man/man1/" \
		CC="${CC}"
MAKE_JOBS_UNSAFE=	yes

PLIST_FILES=	bin/cdplay \
		man/man1/cdplay.1.gz

post-patch:
	${REINPLACE_CMD}			\
		-e 's/^OPTIMISE=.*$$/OPTIMISE=/'\
		${WRKSRC}/Makefile

pre-patch:
	@${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cdplay ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/cdplay.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud