aboutsummaryrefslogtreecommitdiff
path: root/audio/timidity++-motif
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-22 16:59:24 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-22 16:59:24 +0000
commit5168cdcc4700537e8cf9190abacc399e88d07c3b (patch)
treedf93899d1582696960e6490dc3848ad86526989f /audio/timidity++-motif
parent71bdc605e08b748ef234ad5a05ab2a10cb21f274 (diff)
- Move timidity++ interface glues from audio/timidity++-emacs into
audio/timidity++. This makes all interface ports much more similar to each others. - As a result of changing master port, all interface ports portrevision are bumped - Use PLIST_FILES for slave ports if possible - While I'm here, remove 4.x support in audio/timidity++ Approved by: nork (timidity++ maintainer, blanket)
Notes
Notes: svn path=/head/; revision=188042
Diffstat (limited to 'audio/timidity++-motif')
-rw-r--r--audio/timidity++-motif/Makefile12
-rw-r--r--audio/timidity++-motif/pkg-plist2
2 files changed, 10 insertions, 4 deletions
diff --git a/audio/timidity++-motif/Makefile b/audio/timidity++-motif/Makefile
index 71b37dd5e2a3..93a3200b13e0 100644
--- a/audio/timidity++-motif/Makefile
+++ b/audio/timidity++-motif/Makefile
@@ -5,11 +5,19 @@
# $FreeBSD$
#
-INTERFACE= motif
+PKGNAMESUFFIX= -motif
MAINTAINER= ports@FreeBSD.org
COMMENT= Motif interface for TiMidity++
-MASTERDIR= ${.CURDIR}/../../audio/timidity++-emacs
+MASTERDIR= ${.CURDIR}/../../audio/timidity++
+
+PLIST_FILES= bin/xmmidi ${TIMID_LIBDIR}/interface_m.so
+
+post-configure:
+ @${MV} ${WRKSRC}/interface/Makefile ${WRKSRC}/interface/Makefile.orig
+ @${SED} -e 's^m_so_libs = $$^m_so_libs = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \
+ -e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \
+ ${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile
.include "${MASTERDIR}/Makefile"
diff --git a/audio/timidity++-motif/pkg-plist b/audio/timidity++-motif/pkg-plist
deleted file mode 100644
index 5342adda62c3..000000000000
--- a/audio/timidity++-motif/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/xmmidi
-lib/timidity/interface_m.so