make this into a slave port depending on timidity++-emacs

PR:		17355
Submitted by:	maintainer
This commit is contained in:
Michael Haro 2000-04-06 07:12:00 +00:00
parent 1ac92b1637
commit d1335039fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27357
2 changed files with 5 additions and 46 deletions

View File

@ -6,49 +6,8 @@
# $FreeBSD$
#
DISTNAME= TiMidity++-1.3.10
PKGNAME= timidity++-motif-1.3.10
CATEGORIES= audio
MASTER_SITES= http://www.goice.co.jp/member/mo/timidity/dist/
INTERFACE= motif
MAINTAINER= yatt@msc.biglobe.ne.jp
MASTERDIR= ${.CURDIR}/../../audio/timidity++-emacs
RUN_DEPENDS= ${PREFIX}/bin/timidity:${PORTSDIR}/audio/timidity++
USE_XLIB= yes
USE_AUTOCONF= yes
REQUIRES_MOTIF= 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 \
--enable-motif=dynamic --disable-slang --disable-gtk \
--enable-network --enable-spectrogram --enable-wrd
CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}"
.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_ENV+= LDFLAGS=-export-dynamic
.endif
TIMID_DIR= ${PREFIX}/lib/timidity
LINK= xmmidi
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
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>
.include "${MASTERDIR}/Makefile"

View File

@ -3,7 +3,7 @@ This port allows you to operate TiMidity++ with Motif interface.
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 <yatt@msc.biglobe.ne.jp>