mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
45 lines
1006 B
Makefile
45 lines
1006 B
Makefile
# New ports collection makefile for: xmms-xymms
|
|
# Date created: 27 Jun 2005
|
|
# Whom: 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
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_SAFE= 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>
|