aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-07-19 00:41:19 +0800
committermat <mat@FreeBSD.org>2016-07-19 00:41:19 +0800
commit3dab8f09e8b7b464777ad4102a763fd6cfa084c6 (patch)
treede0e34a6fbc7678aaaa6fa7ea4c31c9e5b56add8 /audio
parent1be4f474d368ac856b66bc1d293b083466a5a505 (diff)
downloadfreebsd-ports-gnome-3dab8f09e8b7b464777ad4102a763fd6cfa084c6.tar.gz
freebsd-ports-gnome-3dab8f09e8b7b464777ad4102a763fd6cfa084c6.tar.zst
freebsd-ports-gnome-3dab8f09e8b7b464777ad4102a763fd6cfa084c6.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
Diffstat (limited to 'audio')
-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%%
+==============================================================