freebsd-ports/audio/timidity++-motif/Makefile
Doug Barton 44fa804810 s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
2012-06-24 21:53:38 +00:00

23 lines
697 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${LOCALBASE}/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"