aboutsummaryrefslogtreecommitdiff
path: root/audio/sidplayer
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-18 16:41:19 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-18 16:41:19 +0000
commit7b46a49633afec24c1083e469d2ad93dca3d38c2 (patch)
treede0e34a6fbc7678aaaa6fa7ea4c31c9e5b56add8 /audio/sidplayer
parent1aa2c6a6b7f64ec2221a9944d9602a35c66600ca (diff)
downloadports-7b46a49633afec24c1083e469d2ad93dca3d38c2.tar.gz
ports-7b46a49633afec24c1083e469d2ad93dca3d38c2.zip
Don't echo in post-install, use pkg-message. Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=418715
Diffstat (limited to 'audio/sidplayer')
-rw-r--r--audio/sidplayer/Makefile14
-rw-r--r--audio/sidplayer/files/pkg-message.in4
2 files changed, 7 insertions, 11 deletions
diff --git a/audio/sidplayer/Makefile b/audio/sidplayer/Makefile
index 9b79fc86d55b..d2b228d20b3e 100644
--- a/audio/sidplayer/Makefile
+++ b/audio/sidplayer/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sidplayer
PORTVERSION= 4.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://sidplayer.cebix.net/downloads/ \
LOCAL/ehaupt
@@ -20,8 +20,8 @@ GNU_CONFIGURE= yes
SDLINCLUDEDIR= SDL
OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+OPTIONS_SUB= yes
+SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|SDL/SDL_endian\.h|${SDLINCLUDEDIR}/SDL_endian\.h|' \
@@ -32,12 +32,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/PSID\ Demo/* ${STAGEDIR}${DOCSDIR}
-post-install:
- @${ECHO_MSG} "=============================================================="
- @${ECHO_MSG} "A huge SID tune archive can be found at http://hvsc.c64.org/"
-.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} "You can find a few examples in ${DOCSDIR}"
-.endif
- @${ECHO_MSG} "=============================================================="
-
.include <bsd.port.mk>
diff --git a/audio/sidplayer/files/pkg-message.in b/audio/sidplayer/files/pkg-message.in
new file mode 100644
index 000000000000..f8454ae7ef26
--- /dev/null
+++ b/audio/sidplayer/files/pkg-message.in
@@ -0,0 +1,4 @@
+==============================================================
+A huge SID tune archive can be found at http://hvsc.c64.org/
+%%DOCS%%You can find a few examples in %%DOCSDIR%%
+==============================================================