aboutsummaryrefslogtreecommitdiffstats
path: root/audio/emms
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-05-24 19:08:38 +0800
committeranray <anray@FreeBSD.org>2006-05-24 19:08:38 +0800
commit9d252abb466f6c7d7274c49a37ac783e84dc9725 (patch)
tree4587fe14a2e79748b19e1dab9367118190558044 /audio/emms
parent946ee4b669d3c71fb02feb6818959afeb11b7b83 (diff)
downloadfreebsd-ports-gnome-9d252abb466f6c7d7274c49a37ac783e84dc9725.tar.gz
freebsd-ports-gnome-9d252abb466f6c7d7274c49a37ac783e84dc9725.tar.zst
freebsd-ports-gnome-9d252abb466f6c7d7274c49a37ac783e84dc9725.zip
EMMS is the Emacs Multi-Media System. It tries to be a clean and small
application to play multimedia files from Emacs using external players. Many of it's ideas are derived from MpthreePlayer (http://www.nongnu.org/mp3player), but it tries to be more general and more clean. WWW: http://www.gnu.org/software/emms/index.html PR: ports/97080 Submitted by: Dryice Liu <dryice@dryice.name>
Diffstat (limited to 'audio/emms')
-rw-r--r--audio/emms/Makefile29
-rw-r--r--audio/emms/distinfo3
-rw-r--r--audio/emms/files/patch-Makefile31
-rw-r--r--audio/emms/pkg-descr7
-rw-r--r--audio/emms/pkg-plist51
5 files changed, 121 insertions, 0 deletions
diff --git a/audio/emms/Makefile b/audio/emms/Makefile
new file mode 100644
index 000000000000..25e4d205a223
--- /dev/null
+++ b/audio/emms/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: emms
+# Date created: 10 May 2006
+# Whom: Dryice Liu <dryice@dryice.name>
+#
+# $FreeBSD$
+#
+
+PORTNAME= emms
+PORTVERSION= 2.0
+CATEGORIES= audio elisp
+MASTER_SITES= http://www.gnu.org/software/emms/releases/ \
+ http://dryice.name/computer/FreeBSD/distfiles/
+
+MAINTAINER= dryice@dryice.name
+COMMENT= EMMS is the Emacs Multi-Media System
+
+USE_EMACS= yes
+EMACS_PORT_NAME?= emacs21
+
+.if ${EMACS_PORT_NAME} != "emacs21"
+PORTNAMESUFFIX= ${PKGNAMESUFFIX}
+.endif
+
+USE_GMAKE= yes
+MAKE_ENV+= EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR}
+INFO= emms
+MAN1= emms-print-metadata.1
+
+.include <bsd.port.mk>
diff --git a/audio/emms/distinfo b/audio/emms/distinfo
new file mode 100644
index 000000000000..bea0bbef6763
--- /dev/null
+++ b/audio/emms/distinfo
@@ -0,0 +1,3 @@
+MD5 (emms-2.0.tar.gz) = 0f4d18438fbe95988e47634651617a4c
+SHA256 (emms-2.0.tar.gz) = 3f6693ecffbf2aad123144a74f39fa0ca866690041d53836aa0a146db404e7b4
+SIZE (emms-2.0.tar.gz) = 103740
diff --git a/audio/emms/files/patch-Makefile b/audio/emms/files/patch-Makefile
new file mode 100644
index 000000000000..5d2a62c9cb89
--- /dev/null
+++ b/audio/emms/files/patch-Makefile
@@ -0,0 +1,31 @@
+--- Makefile.orig Sat Apr 29 22:28:28 2006
++++ Makefile Wed May 24 03:31:25 2006
+@@ -1,4 +1,4 @@
+-EMACS=emacs
++EMACS=$(EMACS_NAME)-$(EMACS_VER)
+ SITEFLAG=--no-site-file
+ GZIP=gzip
+ ALLSOURCE=$(wildcard *.el)
+@@ -11,10 +11,10 @@
+ DESTDIR=
+ PREFIX=$(DESTDIR)/usr/local
+ INFODIR=$(PREFIX)/info
+-MAN1DIR=$(PREFIX)/share/man/man1
+-SITELISP=$(PREFIX)/share/emacs/site-lisp/emms
++MAN1DIR=$(PREFIX)/man/man1
++SITELISP=$(PREFIX)/$(EMACS_SITE_LISPDIR)/emms
+
+-INSTALLINFO = /usr/sbin/install-info --info-dir=$(INFODIR)
++INSTALLINFO = /usr/bin/install-info --info-dir=$(INFODIR)
+
+ .PHONY: all install deb-install clean
+ .PRECIOUS: %.elc %.info %.html
+@@ -48,7 +48,7 @@
+ [ -d $(INFODIR) ] || install -d $(INFODIR)
+ install -m 644 $(ALLSOURCE) $(SITELISP)
+ install -m 644 $(ALLCOMPILED) $(SITELISP)
+- install -m 0644 emms.info $(INFODIR)/emms
++ install -m 0644 emms.info $(INFODIR)
+ for p in $(MAN1PAGES) ; do $(GZIP) -9c $$p > $(MAN1DIR)/$$p.gz ; done
+ $(INSTALLINFO) emms.info
+
diff --git a/audio/emms/pkg-descr b/audio/emms/pkg-descr
new file mode 100644
index 000000000000..37f4d22dc895
--- /dev/null
+++ b/audio/emms/pkg-descr
@@ -0,0 +1,7 @@
+EMMS is the Emacs Multi-Media System. It tries to be a clean and small
+application to play multimedia files from Emacs using external
+players. Many of it's ideas are derived from MpthreePlayer
+(http://www.nongnu.org/mp3player), but it tries to be more general and
+more clean.
+
+WWW: http://www.gnu.org/software/emms/index.html
diff --git a/audio/emms/pkg-plist b/audio/emms/pkg-plist
new file mode 100644
index 000000000000..2464eae5340c
--- /dev/null
+++ b/audio/emms/pkg-plist
@@ -0,0 +1,51 @@
+%%EMACS_SITE_LISPDIR%%/emms/emms-auto.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-libtag.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-libtag.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-mp3info.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-mp3info.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-ogg.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-ogg.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-ogginfo.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-info-ogginfo.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-info.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-info.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-lyrics.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-lyrics.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-maint.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-metaplaylist-mode.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-metaplaylist-mode.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-mode-line-icon.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-mode-line-icon.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-mode-line.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-mode-line.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-player-mpd.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-player-mpd.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-player-mplayer.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-player-mplayer.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-player-simple.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-player-simple.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-playing-time.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-playing-time.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-playlist-mode.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-playlist-mode.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-playlist-sort.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-playlist-sort.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-score.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-score.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-setup.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-setup.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-source-file.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-source-file.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-source-playlist.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-source-playlist.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-stream-info.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-stream-info.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms-streams.el
+%%EMACS_SITE_LISPDIR%%/emms/emms-streams.elc
+%%EMACS_SITE_LISPDIR%%/emms/emms.el
+%%EMACS_SITE_LISPDIR%%/emms/emms.elc
+%%EMACS_SITE_LISPDIR%%/emms/later-do.el
+%%EMACS_SITE_LISPDIR%%/emms/later-do.elc
+%%EMACS_SITE_LISPDIR%%/emms/ogg-comment.el
+%%EMACS_SITE_LISPDIR%%/emms/ogg-comment.elc
+@dirrm %%EMACS_SITE_LISPDIR%%/emms