aboutsummaryrefslogtreecommitdiffstats
path: root/audio/timidity++-gtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/timidity++-gtk/Makefile')
-rw-r--r--audio/timidity++-gtk/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/audio/timidity++-gtk/Makefile b/audio/timidity++-gtk/Makefile
new file mode 100644
index 000000000000..5f386f9df293
--- /dev/null
+++ b/audio/timidity++-gtk/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: TiMidity++
+# Version required: 1.3.10
+# Date created: 27 Feb 1999
+# Whom: Yoichi Asai <yatt@msc.biglobe.ne.jp>
+#
+# $FreeBSD$
+#
+
+DISTNAME= TiMidity++-1.3.10
+PKGNAME= timidity++-gtk-1.3.10
+CATEGORIES= audio
+MASTER_SITES= http://www.goice.co.jp/member/mo/timidity/dist/
+
+MAINTAINER= yatt@msc.biglobe.ne.jp
+
+RUN_DEPENDS= ${PREFIX}/bin/timidity:${PORTSDIR}/audio/timidity++
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+
+USE_XLIB= yes
+USE_AUTOCONF= yes
+
+FILESDIR= ${.CURDIR}/../../audio/timidity++/files
+
+DIST_SUBDIR= timidity
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ARGS= --prefix=${PREFIX} --with-x \
+ --disable-ncurses --disable-vt100 --disable-tcltk \
+ --disable-emacs --disable-xaw --disable-xskin \
+ --disable-motif --disable-slang --enable-gtk=dynamic \
+ --enable-network --enable-spectrogram --enable-wrd
+CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config SHLD="gcc -shared"
+.if ${PORTOBJFORMAT} == "elf"
+CONFIGURE_ENV+= LDFLAGS=-export-dynamic
+.endif
+
+TIMID_DIR= ${PREFIX}/lib/timidity
+LINK= gtkmidi
+
+do-build:
+ cd ${WRKSRC}/interface; ${MAKE}
+
+do-install:
+ cd ${WRKSRC}/interface; ${MAKE} ${INSTALL_TARGET}
+ ${LN} -sf ${PREFIX}/bin/timidity ${PREFIX}/bin/${LINK}
+
+.include <bsd.port.post.mk>