[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / moc

File: [cvs.NetBSD.org] / pkgsrc / audio / moc / Makefile (download)

Revision 1.21, Mon Apr 8 11:17:09 2013 UTC (11 years ago) by rodent
Branch: MAIN
Changes since 1.20: +2 -2 lines

Remove "Trailing empty lines." and/or "Trailing white-space."

# $NetBSD: Makefile,v 1.21 2013/04/08 11:17:09 rodent Exp $

DISTNAME=		moc-2.4.3
PKGREVISION=		5
CATEGORIES=		audio
MASTER_SITES=		ftp://ftp.daper.net/pub/soft/moc/stable/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		peter.schuller@infidyne.com
HOMEPAGE=		http://moc.daper.net/
COMMENT=		Curses based console audio player

CONFLICTS=		moc-devel-[0-9]*

GNU_CONFIGURE=		yes
USE_PKGLOCALEDIR=	yes
USE_LIBTOOL=		yes
USE_NCURSES=		yes
USE_TOOLS+=		pkg-config

# We require ncurses because with curses arrow key navigation is buggy
CONFIGURE_ARGS+=	--with-ncurses

SUBST_CLASSES+=		oss
SUBST_STAGE.oss=	pre-configure
SUBST_FILES.oss=	config.example options.c
SUBST_SED.oss=		-e s,/dev/dsp,${DEVOSSAUDIO},g
SUBST_MESSAGE.oss=	Fixing hardcoded audio device.

.include "options.mk"
###
### This target is [currently] for regenerating configure to add the
### sched_get_priority_max check of librt.
###
#USE_TOOLS+=		autoconf automake
#pre-configure:
#	cd ${WRKSRC} && autoreconf -v -i

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+=	rm:-Wl,--export-dynamic
.endif

LIBS.SunOS+=	-lsocket

.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"