Dynamically adjust pkg-message

PR:		142406
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
Emanuel Haupt 2010-01-07 09:38:04 +00:00
parent 3da2e54c28
commit 5f0abd84c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247322
2 changed files with 5 additions and 2 deletions

View File

@ -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>

View File

@ -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.