mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
d13ff5daea
Notified by: kris (via pointyhat)
43 lines
992 B
Makefile
43 lines
992 B
Makefile
# New ports collection makefile for: xmms-nsf
|
|
# Date created: 18 Aug 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmms-nsf
|
|
PORTVERSION= 0.0.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://optronic.sourceforge.net/files/ \
|
|
http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= XMMS input-plugin for playing Nintendo(TM) NSF audio files
|
|
|
|
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
|
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
CFLAGS+= -fPIC
|
|
|
|
PLIST_FILES= lib/xmms/Input/libnsf.a \
|
|
lib/xmms/Input/libnsf.la \
|
|
lib/xmms/Input/libnsf.so
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|' \
|
|
${WRKSRC}/src/nes/nestypes.h
|
|
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
|
|
|
|
post-install:
|
|
@${SED} -e 's|%%VERSION%%|${PORTVERSION}|' ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|