Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 16:30:35 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438383 - in head/audio: . schism schismtracker
Message-ID:  <201704121630.v3CGUZ7f023880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Apr 12 16:30:34 2017
New Revision: 438383
URL: https://svnweb.freebsd.org/changeset/ports/438383

Log:
  - Rename audio/schism for better naming
  - Add .desktop files for tracker and editor
  - Provide icons

Added:
  head/audio/schismtracker/
     - copied from r438382, head/audio/schism/
  head/audio/schismtracker/pkg-plist   (contents, props changed)
Deleted:
  head/audio/schism/
Modified:
  head/audio/Makefile
  head/audio/schismtracker/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Wed Apr 12 16:25:25 2017	(r438382)
+++ head/audio/Makefile	Wed Apr 12 16:30:34 2017	(r438383)
@@ -687,7 +687,7 @@
     SUBDIR += s3mod
     SUBDIR += sayonara
     SUBDIR += sbagen
-    SUBDIR += schism
+    SUBDIR += schismtracker
     SUBDIR += scrobbler
     SUBDIR += sdl2_mixer
     SUBDIR += sdl_mixer

Modified: head/audio/schismtracker/Makefile
==============================================================================
--- head/audio/schism/Makefile	Wed Apr 12 16:25:25 2017	(r438382)
+++ head/audio/schismtracker/Makefile	Wed Apr 12 16:30:34 2017	(r438383)
@@ -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>

Added: head/audio/schismtracker/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/schismtracker/pkg-plist	Wed Apr 12 16:30:34 2017	(r438383)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704121630.v3CGUZ7f023880>