summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-12 16:30:34 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-04-12 16:30:34 +0000
commit3d3b909ba4882558f122dc91365edeccd11d9b0f (patch)
tree6bf58dac08e3de3d8bc2e30c9c0425b1ec84888b /audio
parent4af528f41855f0a7e0107dea08f4d6cea2367e9e (diff)
downloadfreebsd-ports-3d3b909ba4882558f122dc91365edeccd11d9b0f.zip
- Rename audio/schism for better naming
- Add .desktop files for tracker and editor - Provide icons
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile2
-rw-r--r--audio/schismtracker/Makefile (renamed from audio/schism/Makefile)17
-rw-r--r--audio/schismtracker/distinfo (renamed from audio/schism/distinfo)0
-rw-r--r--audio/schismtracker/pkg-descr (renamed from audio/schism/pkg-descr)0
-rw-r--r--audio/schismtracker/pkg-plist6
5 files changed, 15 insertions, 10 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ad016a6e8835..a1d7ca3fee7a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -687,7 +687,7 @@
SUBDIR += s3mod
SUBDIR += sayonara
SUBDIR += sbagen
- SUBDIR += schism
+ SUBDIR += schismtracker
SUBDIR += scrobbler
SUBDIR += sdl2_mixer
SUBDIR += sdl_mixer
diff --git a/audio/schism/Makefile b/audio/schismtracker/Makefile
index 504fae7bddd3..17a652adde85 100644
--- a/audio/schism/Makefile
+++ b/audio/schismtracker/Makefile
@@ -1,9 +1,9 @@
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
-PORTNAME= schism
+PORTNAME= schismtracker
PORTVERSION= 20160913
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MAINTAINER= ehaupt@FreeBSD.org
@@ -13,16 +13,12 @@ LICENSE= GPLv2
ONLY_FOR_ARCHS= i386 amd64
-USES= autoreconf python compiler:c++11-lib
+USES= autoreconf python compiler:c++11-lib desktop-file-utils
USE_SDL= sdl
USE_XORG= x11 xext xv
GNU_CONFIGURE= yes
USE_GITHUB= yes
-GH_ACCOUNT= schismtracker
-GH_PROJECT= schismtracker
-
-PLIST_FILES= bin/${PORTNAME}
# if you touch these make sure configure finds X11/XKBlib.h presence
LDFLAGS+= `sdl-config --libs`
@@ -36,7 +32,10 @@ post-patch:
${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/^schismtracker_LDADD/d' ${WRKSRC}/Makefile.am
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/schismtracker ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/sys/fd.org/*.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/icons/schism-icon-128.png \
+ ${WRKSRC}/icons/schism-itf-icon-128.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/audio/schism/distinfo b/audio/schismtracker/distinfo
index 1b6df161549b..1b6df161549b 100644
--- a/audio/schism/distinfo
+++ b/audio/schismtracker/distinfo
diff --git a/audio/schism/pkg-descr b/audio/schismtracker/pkg-descr
index a363b0e49858..a363b0e49858 100644
--- a/audio/schism/pkg-descr
+++ b/audio/schismtracker/pkg-descr
diff --git a/audio/schismtracker/pkg-plist b/audio/schismtracker/pkg-plist
new file mode 100644
index 000000000000..9f31d88f773c
--- /dev/null
+++ b/audio/schismtracker/pkg-plist
@@ -0,0 +1,6 @@
+bin/schismtracker
+man/man1/schismtracker.1.gz
+share/applications/itf.desktop
+share/applications/schism.desktop
+share/pixmaps/schism-icon-128.png
+share/pixmaps/schism-itf-icon-128.png