diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2010-01-07 17:38:04 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2010-01-07 17:38:04 +0800 |
commit | c42a4242d7c00ac08e0c998f62775a13fccdec67 (patch) | |
tree | 0572c35bd518bee423560e75193c5d31343e0200 /audio | |
parent | 29e1dff07f15c607598d3f21311de54f2f1e5643 (diff) | |
download | freebsd-ports-gnome-c42a4242d7c00ac08e0c998f62775a13fccdec67.tar.gz freebsd-ports-gnome-c42a4242d7c00ac08e0c998f62775a13fccdec67.tar.zst freebsd-ports-gnome-c42a4242d7c00ac08e0c998f62775a13fccdec67.zip |
Dynamically adjust pkg-message
PR: 142406
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmms-nsf/Makefile | 5 | ||||
-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. |