aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-01-07 09:38:04 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-01-07 09:38:04 +0000
commit5f0abd84c6659eec38bd6d5c6846a6711870fc09 (patch)
tree7b7a8b79771ad81c1213a8ef5ef2c2be2a640701 /audio
parent3da2e54c285f7f895665d80033b4ca7bf212c8ef (diff)
downloadports-5f0abd84c6659eec38bd6d5c6846a6711870fc09.tar.gz
ports-5f0abd84c6659eec38bd6d5c6846a6711870fc09.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-nsf/Makefile5
-rw-r--r--audio/xmms-nsf/files/pkg-message.in (renamed from audio/xmms-nsf/pkg-message)2
2 files changed, 5 insertions, 2 deletions
diff --git a/audio/xmms-nsf/Makefile b/audio/xmms-nsf/Makefile
index d2eab61846bd..5ee73520f3d5 100644
--- a/audio/xmms-nsf/Makefile
+++ b/audio/xmms-nsf/Makefile
@@ -30,12 +30,15 @@ PLIST_FILES= lib/xmms/Input/libnsf.a \
lib/xmms/Input/libnsf.la \
lib/xmms/Input/libnsf.so
+SUB_FILES= pkg-message
+SUB_LIST= VERSION=${PORTVERSION}
+
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}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/audio/xmms-nsf/pkg-message b/audio/xmms-nsf/files/pkg-message.in
index 3cb90434e931..b22a84d4e7e7 100644
--- a/audio/xmms-nsf/pkg-message
+++ b/audio/xmms-nsf/files/pkg-message.in
@@ -1,5 +1,5 @@
================================================================================
-A huge .nsf file collection can be found at: http://www.2a03.org/browse.php/2A03
+A huge .nsf file collection can be found at: http://www.2a03.org/
NSF files may contain multiple tracks. You can activate a special pannel by
selecting "NSF Player %%VERSION%% [libnsf.so]" and pressing the "About" button.