9cba0ef67a
- Chase libpthread-stubs update, and also switch to BUILD_DEPENDS from LIB_DEPENDS, as port is now only .pc file PR: 218015 Submitted by: rezny
32 lines
962 B
Makefile
32 lines
962 B
Makefile
# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmms-curses
|
|
PORTVERSION= 0.2.2
|
|
PORTREVISION= 8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Ncurses program for (remote) controlling multimedia/xmms
|
|
|
|
BUILD_DEPENDS= xmms:multimedia/xmms \
|
|
${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
|
|
RUN_DEPENDS= xmms:multimedia/xmms
|
|
|
|
USES= gettext iconv ncurses
|
|
USE_GNOME= gtk12
|
|
USE_XORG= x11 xau xcb xdmcp xext xi
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${CC} ${CFLAGS} -lpthread -lncurses \
|
|
`xmms-config --cflags --libs` -o xmms-curses *.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/xmms-curses.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
|
|
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
|
|
.include <bsd.port.mk>
|