mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
112f62e6b9
xmcd didn't pass check-plist (pre-existing), fixed. approved by: PTHREAD blanket
33 lines
972 B
Makefile
33 lines
972 B
Makefile
# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmms-curses
|
|
PORTVERSION= 0.2.2
|
|
PORTREVISION= 6
|
|
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} && ${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>
|