dependent ports and convert them to USES=libtool too. audio/scrobbler: - USES=tar:bzip2. - Don't link with libstdc++. audio/xmms-bonk: - Don't link with libstdc++. audio/xmms-flac: - Remove unneeded dependencies. - Remove $FreeBSD$ from patches. audio/xmms-scrobbler: - Use OPTIONS_SLAVE. audio/xmms-timidity: - USES=tar:bzip2. - Install the library instead of the source code file. audio/xmms-volnorm: - Remove do-install.
30 lines
966 B
Makefile
30 lines
966 B
Makefile
# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmms-curses
|
|
PORTVERSION= 0.2.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
|
COMMENT= Ncurses program for (remote) controlling multimedia/xmms
|
|
|
|
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
|
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
|
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
|
|
|
|
USES= gettext iconv
|
|
USE_GNOME= gtk12
|
|
USE_XORG= x11 xau xcb xdmcp xext xi
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -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>
|