mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
40 lines
859 B
Makefile
40 lines
859 B
Makefile
# 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/"
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
NO_STAGE= yes
|
|
MAN1= cdplay.1
|
|
PLIST_FILES= bin/cdplay
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} \
|
|
-e 's/^CC=/CC?=/' \
|
|
-e 's/^OPTIMISE=.*$$/OPTIMISE=/'\
|
|
-e 's/^CFLAGS=/CFLAGS+=/' \
|
|
-e 's/^BINPATH=/BINPATH?=/' \
|
|
-e 's/^MANPATH=/MANPATH?=/' \
|
|
${WRKSRC}/Makefile
|
|
|
|
pre-patch:
|
|
@${GUNZIP_CMD} ${WRKSRC}/cdplay.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cdplay ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/cdplay.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|