1999-09-10 17:08:54 +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>
|
1996-11-17 11:10:09 +00:00
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1996-11-17 11:10:09 +00:00
|
|
|
#
|
|
|
|
|
2000-03-31 21:21:03 +00:00
|
|
|
DISTNAME= TiMidity++-2.9.0
|
|
|
|
PKGNAME= timidity++-2.9.0
|
1999-09-10 17:08:54 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.goice.co.jp/member/mo/timidity/dist/
|
1996-11-17 11:10:09 +00:00
|
|
|
|
1999-10-13 06:47:36 +00:00
|
|
|
MAINTAINER= yatt@msc.biglobe.ne.jp
|
1996-11-17 11:10:09 +00:00
|
|
|
|
1999-09-10 17:08:54 +00:00
|
|
|
# If you don't have X11, type "make -DNO_X11" or uncomment this.
|
|
|
|
#NO_X11= yes
|
1997-06-14 11:04:19 +00:00
|
|
|
|
2000-03-31 21:21:03 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1999-09-10 17:08:54 +00:00
|
|
|
.if !defined(NO_X11)
|
|
|
|
USE_XLIB= yes
|
2000-03-31 21:21:03 +00:00
|
|
|
LIB_DEPENDS+= png.3:${PORTSDIR}/graphics/png
|
1999-09-10 17:08:54 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
DIST_SUBDIR= timidity
|
2000-03-31 21:21:03 +00:00
|
|
|
INSTALL_TARGET= install install.man
|
1999-09-10 17:08:54 +00:00
|
|
|
|
|
|
|
.if !defined(NO_X11)
|
2000-03-31 21:21:03 +00:00
|
|
|
CONFIGURE_ARGS= --with-x --enable-ncurses --enable-vt100 \
|
|
|
|
--enable-dynamic --enable-server \
|
1999-09-10 17:08:54 +00:00
|
|
|
--enable-network --enable-spectrogram --enable-wrd
|
|
|
|
.else
|
2000-03-31 21:21:03 +00:00
|
|
|
CONFIGURE_ARGS= --enable-ncurses --enable-vt100 \
|
1999-09-10 17:08:54 +00:00
|
|
|
--enable-network --disable-spectrogram --disable-wrd
|
|
|
|
.endif
|
2000-03-31 21:21:03 +00:00
|
|
|
|
|
|
|
.if defined(USE_ESOUND)
|
|
|
|
LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
|
|
|
|
CONFIGURE_ARGS+= --enable-audio=oss,esd
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-audio=oss
|
1999-09-10 17:08:54 +00:00
|
|
|
.endif
|
1999-01-04 15:04:31 +00:00
|
|
|
|
1999-09-10 17:08:54 +00:00
|
|
|
MAN1= timidity.1
|
|
|
|
MAN5= timidity.cfg.5
|
|
|
|
|
|
|
|
DOCFILES= README.dl README.sf
|
2000-03-31 21:21:03 +00:00
|
|
|
DOCLANG= C ja_JP.ujis
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
1999-09-10 17:08:54 +00:00
|
|
|
|
2000-03-31 21:21:03 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
|
|
CONFIGURE_ENV= LDFLAGS=-export-dynamic
|
|
|
|
.endif
|
1999-09-10 17:08:54 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-03-31 21:21:03 +00:00
|
|
|
@${MKDIR} ${PREFIX}/man/ja/man1 ${PREFIX}/man/ja/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/ja_JP.ujis/timidity.1 \
|
|
|
|
${PREFIX}/man/ja/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/ja_JP.ujis/timidity.cfg.5 \
|
|
|
|
${PREFIX}/man/ja/man5
|
1999-09-10 17:08:54 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for lang in ${DOCLANG}
|
|
|
|
@${MKDIR} \
|
|
|
|
${PREFIX}/share/doc/timidity/`echo ${lang} | ${SED} 's/_JP.ujis//'`
|
|
|
|
for f in ${DOCFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${lang}/$$f \
|
|
|
|
${PREFIX}/share/doc/timidity/`echo ${lang} | ${SED} 's/_JP.ujis//'`; \
|
|
|
|
done;
|
|
|
|
.endfor
|
|
|
|
.endif
|
2000-03-31 21:21:03 +00:00
|
|
|
${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1996-11-17 11:10:09 +00:00
|
|
|
|
1999-09-10 17:08:54 +00:00
|
|
|
.include <bsd.port.post.mk>
|