mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
c59a3834c4
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are currently broken. This is a temporary measure until we organically stop using := or someone(s) spend a lot of time changing all the ports over. Explicit duplication > := > = and this just moves ports one step to the left Approved by: portmgr
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# New ports collection makefile for: xmms-sexypsf
|
|
# Date created: 10 Jul 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmms-sexypsf
|
|
PORTVERSION= 0.4.8
|
|
PORTREVISION= 4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://projects.raphnet.net/sexypsf/ \
|
|
CRITICAL
|
|
DISTNAME= sexypsf-${PORTVERSION}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= XMMS plugin for playing .psf files
|
|
|
|
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gtk12
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CFLAGS+= -I${WRKSRC} -fPIC
|
|
DEFINES= -DSPSFVERSION=\""${PORTVERSION}\"" -DPSS_STYLE=1
|
|
|
|
PORTDOCS= ChangeLog README psf_format.txt spu.txt spu2regs.txt \
|
|
system.txt
|
|
SOURCES= PsxBios PsxCounters PsxDma Spu PsxHw PsxMem Misc \
|
|
R3000A PsxInterpreter PsxHLE spu/spu xmms/xmms
|
|
|
|
PLIST_FILES= lib/xmms/Input/libsexypsf.so
|
|
|
|
do-build:
|
|
.for f in ${SOURCES}
|
|
${CC} ${CFLAGS} ${DEFINES} `gtk-config --cflags` -c -o ${WRKSRC}/${f}.o ${WRKSRC}/${f}.c
|
|
.endfor
|
|
${CC} ${CFLAGS} ${DEFINES} `gtk-config --cflags` ${SOURCES:S/$/.o/:S/^/${WRKSRC}\//} \
|
|
-o ${WRKSRC}/libsexypsf.so -shared -lz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libsexypsf.so ${PREFIX}/lib/xmms/Input/libsexypsf.so
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/Docs/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} pkg-message
|
|
|
|
.include <bsd.port.mk>
|