1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/audio/tcd/Makefile
Pietro Cerutti 09db2e42a9 - Enhance next/prev commands. Next on last track jumps to first track. Prev
on first track jumps to last track.
- Bump PORTREVISION
2008-07-25 11:29:18 +00:00

40 lines
972 B
Makefile

# New ports collection Makefile for: tcd
# Date created: 20 June 2008
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= tcd
PORTVERSION= 2.2.0
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A simple, user-friendly ncurses-based CD player
OPTIONS= MUSICBRAINZ "Enable experimental MusicBrainz support" OFF
USE_SDL= sdl
GNU_CONFIGURE= yes
MAN1= tcd.1
PLIST_FILES= bin/tcd
.include <bsd.port.pre.mk>
.if defined(WITH_MUSICBRAINZ)
LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-DUSE_MUSICBRAINZ -lmusicbrainz -ggdb
post-patch:
${REINPLACE_CMD} -e 's|tcd_SOURCES = |tcd_SOURCES = tcd_mb.c tcd_mb.h |' \
${WRKSRC}/src/Makefile.am ${WRKSRC}/src/Makefile.in
${REINPLACE_CMD} -e 's|am_tcd_OBJECTS = |am_tcd_OBJECTS = tcd_mb.$$(OBJEXT) |' \
${WRKSRC}/src/Makefile.in
.endif
.include <bsd.port.post.mk>