Lines 6-54
Link Here
|
6 |
# $FreeBSD: ports/audio/timidity++-motif/Makefile,v 1.3 1999/12/10 00:59:27 imura Exp $ |
6 |
# $FreeBSD: ports/audio/timidity++-motif/Makefile,v 1.3 1999/12/10 00:59:27 imura Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
DISTNAME= TiMidity++-1.3.10 |
9 |
INTERFACE= motif |
10 |
PKGNAME= timidity++-motif-1.3.10 |
|
|
11 |
CATEGORIES= audio |
12 |
MASTER_SITES= http://www.goice.co.jp/member/mo/timidity/dist/ |
13 |
|
10 |
|
14 |
MAINTAINER= yatt@msc.biglobe.ne.jp |
11 |
MASTERDIR= ${.CURDIR}/../../audio/timidity++-emacs |
15 |
|
12 |
|
16 |
RUN_DEPENDS= ${PREFIX}/bin/timidity:${PORTSDIR}/audio/timidity++ |
13 |
.include "${MASTERDIR}/Makefile" |
17 |
|
|
|
18 |
USE_XLIB= yes |
19 |
USE_AUTOCONF= yes |
20 |
REQUIRES_MOTIF= yes |
21 |
|
22 |
FILESDIR= ${.CURDIR}/../../audio/timidity++/files |
23 |
|
24 |
DIST_SUBDIR= timidity |
25 |
|
26 |
.include <bsd.port.pre.mk> |
27 |
|
28 |
CONFIGURE_ARGS= --prefix=${PREFIX} --with-x \ |
29 |
--disable-ncurses --disable-vt100 --disable-tcltk \ |
30 |
--disable-emacs --disable-xaw --disable-xskin \ |
31 |
--enable-motif=dynamic --disable-slang --disable-gtk \ |
32 |
--enable-network --enable-spectrogram --enable-wrd |
33 |
CONFIGURE_ENV= MOTIFLIB="${MOTIFLIB}" |
34 |
.if ${PORTOBJFORMAT} == "elf" |
35 |
CONFIGURE_ENV+= LDFLAGS=-export-dynamic |
36 |
.endif |
37 |
|
38 |
TIMID_DIR= ${PREFIX}/lib/timidity |
39 |
LINK= xmmidi |
40 |
|
41 |
post-configure: |
42 |
@${MV} ${WRKSRC}/interface/Makefile ${WRKSRC}/interface/Makefile.orig |
43 |
@${SED} -e 's^m_so_libs = $$^m_so_libs = -L/usr/X11R6/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \ |
44 |
-e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \ |
45 |
${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile |
46 |
|
47 |
do-build: |
48 |
cd ${WRKSRC}/interface; ${MAKE} |
49 |
|
50 |
do-install: |
51 |
cd ${WRKSRC}/interface; ${MAKE} ${INSTALL_TARGET} |
52 |
${LN} -sf ${PREFIX}/bin/timidity ${PREFIX}/bin/${LINK} |
53 |
|
54 |
.include <bsd.port.post.mk> |