1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/xmms-xymms/Makefile

41 lines
919 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= xymms
DISTVERSION= 0.9.1
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF
PKGNAMEPREFIX= xmms-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Sega Genesis GYM plugin for XMMS
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
GNU_CONFIGURE= yes
USE_GNOME= gtk12
NO_STAGE= yes
USE_LDCONFIG= yes
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
PLIST_FILES= lib/xmms/Input/libxymms.a \
lib/xmms/Input/libxymms.la \
lib/xmms/Input/libxymms.so \
%%EXAMPLESDIR%%/sample.gym
PLIST_DIRS= %%EXAMPLESDIR%%
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/sample.gym ${EXAMPLESDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>