freebsd-ports/audio/timidity++-motif/Makefile
Rong-En Fan 5168cdcc47 - Move timidity++ interface glues from audio/timidity++-emacs into
audio/timidity++. This makes all interface ports much more similar
  to each others.
- As a result of changing master port, all interface ports portrevision
  are bumped
- Use PLIST_FILES for slave ports if possible
- While I'm here, remove 4.x support in audio/timidity++

Approved by:	nork (timidity++ maintainer, blanket)
2007-03-22 16:59:24 +00:00

23 lines
695 B
Makefile

# New ports collection makefile for: TiMidity++
# Date created: 27 Feb 1999
# Whom: Yoichi Asai <yatt@msc.biglobe.ne.jp>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -motif
MAINTAINER= ports@FreeBSD.org
COMMENT= Motif interface for TiMidity++
MASTERDIR= ${.CURDIR}/../../audio/timidity++
PLIST_FILES= bin/xmmidi ${TIMID_LIBDIR}/interface_m.so
post-configure:
@${MV} ${WRKSRC}/interface/Makefile ${WRKSRC}/interface/Makefile.orig
@${SED} -e 's^m_so_libs = $$^m_so_libs = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \
-e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \
${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile
.include "${MASTERDIR}/Makefile"