openbsd-ports/audio/ncmpc/Makefile
jasper 7c470cb5a8 - use libtool
- fix a bug in libmpdclient where it doesn't break to use a valid
  address from getaddrinfo, so it always uses the last one. which
  can be an ipv6 address, and that fails when mpd is only bound
  to localhost

From Nicholas Marriott <nicm__ at ntlworld.com>
via Tobias Ulmer <tobiasu@tmux.org> (MAINTAINER)
2007-10-31 06:34:55 +00:00

49 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2007/10/31 06:34:55 jasper Exp $
# mips64 architecture does not support trampoline code yet
NOT_FOR_ARCHS= mips64
COMMENT= curses based frontend for mpd
DISTNAME= ncmpc-20070917
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
HOMEPAGE= http://hem.bredband.net/kaw/ncmpc/
MAINTAINER= Tobias Ulmer <tobiasu@tmux.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses
LIB_DEPENDS= glib-2.0::devel/glib2
USE_LIBTOOL= Yes
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
MODULES= devel/gettext
MASTER_SITES= http://humppa.nl/distfiles/
CONFIGURE_STYLE= gnu
AUTOMAKE_VERSION= 1.8
AUTOCONF_VERSION= 2.59
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -ftrampolines
WRKDIST= ${WRKDIR}/ncmpc
post-patch:
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
.include <bsd.port.mk>