From owner-freebsd-ports Wed Apr 5 15: 0:17 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E597937BA1E for ; Wed, 5 Apr 2000 15:00:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA86097; Wed, 5 Apr 2000 15:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail4s.biglobe.ne.jp (mail4s.biglobe.ne.jp [210.147.14.249]) by hub.freebsd.org (Postfix) with ESMTP id 47F1737B82C for ; Wed, 5 Apr 2000 14:58:13 -0700 (PDT) (envelope-from yatt@msc.biglobe.ne.jp) Received: from mail-gw.biglobe.ne.jp (mailsv5.biglobe.ne.jp [192.47.117.85]) by mail4s.biglobe.ne.jp (8.9.1+3.1W/3.7W-99081617) with ESMTP id GAA29790 for ; Thu, 6 Apr 2000 06:58:08 +0900 (JST) Received: from mail-relay.biglobe.ne.jp by mail-gw.biglobe.ne.jp (3.7W-INET_GW) id RAA14530 for ; Sun, 2 Apr 2000 17:46:07 +0900 (JST) Received: from pop151.biglobe.ne.jp by mail-relay.biglobe.ne.jp (3.7W-BIGLOBE-relay) id RAA17850 for ; Sun, 2 Apr 2000 17:46:06 +0900 (JST) Message-Id: <20000402174510V.yatt@msc.biglobe.ne.jp> Date: Sun, 02 Apr 2000 17:45:10 +0900 From: yatt@msc.biglobe.ne.jp Reply-To: yatt@msc.biglobe.ne.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17816: Update: audio/timidity++-emacs Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17816 >Category: ports >Synopsis: Update: audio/timidity++-emacs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 5 15:00:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Yoichi ASAI >Release: FreeBSD 3.4-RELEASE i386 >Organization: Personal >Environment: >Description: Update for audio/timidity++-emacs. >How-To-Repeat: >Fix: diff -urN timidity++-emacs.orig/Makefile timidity++-emacs/Makefile --- timidity++-emacs.orig/Makefile Wed Oct 13 00:56:00 1999 +++ timidity++-emacs/Makefile Thu Mar 2 21:12:17 2000 @@ -6,41 +6,136 @@ # $FreeBSD: ports/audio/timidity++-emacs/Makefile,v 1.1.1.1 1999/10/12 15:56:15 flathill Exp $ # -DISTNAME= TiMidity++-1.3.10 -PKGNAME= timidity++-emacs-1.3.10 +DISTNAME= TiMidity++-${VERSION} +PKGNAME= ${LANGPREFIX}timidity++-${INTERFACE}-${VERSION} 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= ${INTERFACE_DEPS} +VERSION= 2.9.0 +INTERFACE?= emacs +.if defined(JAPANESE) +LANGPREFIX= ja- +.endif + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +.if !${INTERFACE} == "emacs" && !${INTERFACE} == "slang" USE_XLIB= yes -USE_AUTOCONF= yes +.endif -FILESDIR= ${.CURDIR}/../../audio/timidity++/files +CONFIGURE_ARGS= --enable-dynamic=${INTERFACE} +MASTERDIR= ${.CURDIR}/../../audio/timidity++ +PKGDIR= ${.CURDIR}/pkg +PKGMESSAGE= ${PKGDIR}/MESSAGE +PLIST_SUB= TIMID_LIBDIR=${TIMID_LIBDIR} DIST_SUBDIR= timidity +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +TIMID_LIBDIR= ${PREFIX}/lib/timidity + +.if ${INTERFACE} == "emacs" +ELISPDIR= ${PREFIX}/share/emacs/site-lisp +.elif ${INTERFACE} == "gtk" +LINK= gtkmidi +INTERFACE_DEPS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} SHLD="gcc -shared" +.elif ${INTERFACE} == "motif" +LINK= xmmidi +REQUIRES_MOTIF= yes +CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}" +.elif ${INTERFACE} == "slang" +.if defined(JAPANESE) +INTERFACE_DEPS= slang.2:${PORTSDIR}/japanese/libslang +.else +INTERFACE_DEPS= slang.1:${PORTSDIR}/devel/libslang +.endif +CONFIGURE_ARGS+= --enable-ncurses +.elif ${INTERFACE} == "tcltk" +LINK= tkmidi +DOCFILES= README.tk +DOCLANG= C ja_JP.ujis +.if defined(JAPANESE) +INTERFACE_DEPS= tk80jp.1:${PORTSDIR}/japanese/tk80 +CONFIGURE_ARGS+= --with-tcl-includes=${PREFIX}/include/tcl8.0jp \ + --with-tk-includes=${PREFIX}/include/tk8.0jp \ + --with-tcl-libs=${PREFIX}/lib --with-tk-libs=${PREFIX}/lib +CONFIGURE_ENV= WISH=wish8.0jp +.else +INTERFACE_DEPS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 +CONFIGURE_ARGS+= --with-tcl-includes=${PREFIX}/include/tcl8.0 \ + --with-tk-includes=${PREFIX}/include/tk8.0 \ + --with-tcl-libs=${PREFIX}/lib --with-tk-libs=${PREFIX}/lib +CONFIGURE_ENV= WISH=wish8.0 +.endif +.elif ${INTERFACE} == "xaw" +LINK= xawmidi +DOCFILES= README.xaw +DOCLANG= C ja_JP.ujis +INTERFACE_DEPS= Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d +.elif ${INTERFACE} == "xskin" +LINK= xskinmidi +DOCFILES= README.xskin +DOCLANG= C ja_JP.ujis +.else +NO_BUILD= yes +NO_INSTALL= yes +.endif + .include -CONFIGURE_ARGS= --prefix=${PREFIX} --with-x \ - --disable-ncurses --disable-vt100 --disable-tcltk \ - --enable-emacs=dynamic --disable-xaw --disable-xskin \ - --disable-motif --disable-slang --disable-gtk \ - --enable-network --enable-spectrogram --enable-wrd .if ${PORTOBJFORMAT} == "elf" -CONFIGURE_ENV= LDFLAGS=-export-dynamic +CONFIGURE_ENV+= LDFLAGS=-export-dynamic .endif -TIMID_DIR= ${PREFIX}/lib/timidity +.if ${INTERFACE} == "motif" +post-configure: + @${MV} ${WRKSRC}/interface/Makefile ${WRKSRC}/interface/Makefile.orig + @${SED} -e 's^m_so_libs = $$^m_so_libs = -L/usr/X11R6/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \ + -e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \ + ${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile +.endif do-build: - cd ${WRKSRC}/interface; ${MAKE} + @cd ${WRKSRC}/interface; ${MAKE} ${ALL_TARGET} do-install: - cd ${WRKSRC}/interface; ${MAKE} ${INSTALL_TARGET} - ${INSTALL_DATA} ${WRKSRC}/interface/timidity.el ${TIMID_DIR} - @cat ${PKGDIR}/MESSAGE + @cd ${WRKSRC}/interface; ${MAKE} ${INSTALL_TARGET} + +post-install: +.if ${INTERFACE} == "emacs" + @${MKDIR} ${ELISPDIR} + ${INSTALL_DATA} ${WRKSRC}/interface/timidity.el ${ELISPDIR} +.endif +.if ${INTERFACE} == "xaw" + @${MKDIR} ${X11BASE}/lib/X11/ja_JP.EUC/app-defaults + ${INSTALL_DATA} ${WRKSRC}/TiMidity.ad \ + ${X11BASE}/lib/X11/app-defaults/TiMidity + ${INSTALL_DATA} ${WRKSRC}/TiMidity-uj.ad \ + ${X11BASE}/lib/X11/ja_JP.EUC/app-defaults/TiMidity +.endif +.if defined(DOCFILES) +.if !defined(NOPORTDOCS) +.for lang in ${DOCLANG} + @${MKDIR} \ + ${PREFIX}/share/doc/timidity/`echo ${lang} | ${SED} 's/_JP.ujis//'` + ${INSTALL_DATA} ${WRKSRC}/doc/${lang}/${DOCFILES} \ + ${PREFIX}/share/doc/timidity/`echo ${lang} | ${SED} 's/_JP.ujis//'` +.endfor +.endif +.endif +.if defined(LINK) + ${LN} -sf ${PREFIX}/bin/timidity ${PREFIX}/bin/${LINK} +.endif +.if exists(${PKGMESSAGE}) + @${CAT} ${PKGMESSAGE} +.endif .include diff -urN timidity++-emacs.orig/pkg/DESCR timidity++-emacs/pkg/DESCR --- timidity++-emacs.orig/pkg/DESCR Wed Oct 13 00:56:00 1999 +++ timidity++-emacs/pkg/DESCR Thu Mar 2 20:52:33 2000 @@ -4,7 +4,7 @@ Formerly, the original version of this program was written by Tuuka Toivonen(until version 0.2i). Now, Masanao Izumo and many hackers are developing "TiMidity++". -Official site is -http://www.goice.co.jp/member/mo/timidity/ + +WWW: http://www.goice.co.jp/member/mo/timidity/ Yoichi Asai diff -urN timidity++-emacs.orig/pkg/MESSAGE timidity++-emacs/pkg/MESSAGE --- timidity++-emacs.orig/pkg/MESSAGE Wed Oct 13 00:56:00 1999 +++ timidity++-emacs/pkg/MESSAGE Thu Mar 2 20:52:33 2000 @@ -1,9 +1,15 @@ ======================================================================== -Place ${PREFIX}/lib/timidity/timidity.el on load-path of your Emacs(en). +"timidity.el" has been installed in ${PREFIX}/share/emacs/site-lisp/ . +If this place is not proper for your Emacs(en), copy it to load-path. Ex. /usr/local/lib/xemacs/site-lisp /usr/local/share/mule/site-lisp + +Add these line to your "~/.emacs" + +(autoload 'timidity "timidity" "TiMidity Interface" t) +(setq timidity-prog-path "/usr/local/bin/timidity") And then, type "M-x timidity" on Emacs. Enjoy! ======================================================================== diff -urN timidity++-emacs.orig/pkg/PLIST timidity++-emacs/pkg/PLIST --- timidity++-emacs.orig/pkg/PLIST Wed Oct 13 00:56:00 1999 +++ timidity++-emacs/pkg/PLIST Thu Mar 2 20:52:33 2000 @@ -1,2 +1,2 @@ lib/timidity/interface_e.so -lib/timidity/timidity.el +share/emacs/site-lisp/timidity.el >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message