1999-10-12 16:04:48 +00:00
|
|
|
# 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
|
1999-10-12 16:18:21 +00:00
|
|
|
PKGNAME= timidity++-motif-1.3.10
|
1999-10-12 16:04:48 +00:00
|
|
|
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++
|
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
USE_AUTOCONF= yes
|
1999-10-12 16:18:21 +00:00
|
|
|
REQUIRES_MOTIF= yes
|
1999-10-12 16:04:48 +00:00
|
|
|
|
|
|
|
FILESDIR= ${.CURDIR}/../../audio/timidity++/files
|
|
|
|
|
|
|
|
DIST_SUBDIR= timidity
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-10-12 16:18:21 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --with-x \
|
1999-10-12 16:04:48 +00:00
|
|
|
--disable-ncurses --disable-vt100 --disable-tcltk \
|
|
|
|
--disable-emacs --disable-xaw --disable-xskin \
|
1999-10-12 16:18:21 +00:00
|
|
|
--enable-motif=dynamic --disable-slang --disable-gtk \
|
1999-10-12 16:04:48 +00:00
|
|
|
--enable-network --enable-spectrogram --enable-wrd
|
1999-10-12 16:18:21 +00:00
|
|
|
CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}"
|
1999-10-12 16:04:48 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
CONFIGURE_ENV+= LDFLAGS=-export-dynamic
|
|
|
|
.endif
|
|
|
|
|
|
|
|
TIMID_DIR= ${PREFIX}/lib/timidity
|
1999-10-12 16:18:21 +00:00
|
|
|
LINK= xmmidi
|
1999-10-12 16:04:48 +00:00
|
|
|
|
|
|
|
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>
|