1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/audio/xmcd/Makefile
Daniel Eischen ea74271d35 Upgrade to latest release (xmcd-2.6).
This still fails to build correctly on -current since the /usr/libexec/cpp
fiasco -- old versions of imake still use /usr/libexec/cpp instead of
gcc -E.  If you don't have a fixed version of imake, a quick fix to get
around this is to set IMAKECPP=/usr/bin/cpp in your environment before
make'ing this port.

Note that the port builds without errors if you don't have the correct
version of imake, but FREEBSD_CAM will not be defined and xmcd will use
the ioctl method which hasn't worked since 3.0.
2000-02-23 03:40:40 +00:00

37 lines
803 B
Makefile

# New ports collection makefile for: xmcd
# Version required: 2.4
# Date created: 16 Februar 1995
# Whom: Gennady Sorokopud <gena@NetVision.net.il>
#
# $FreeBSD$
#
DISTNAME= xmcd-2.6
CATEGORIES= audio
MASTER_SITES= http://metalab.unc.edu/tkan/download/xmcd/src/
MAINTAINER= eischen@vigrid.com
REQUIRES_MOTIF= yes
USE_IMAKE= yes
PLIST_SUB+= RELEASE=${OSREL:R} ARCH=${ARCH}
MAN1= cda.1 cddbcmd.1 dp2xmcd.1 wm2xmcd.1 xmcd.1
MANCOMPRESSED= no
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
pre-patch:
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in
post-patch:
@${SED} -e "s;@PREFIX@;${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \
> ${WRKSRC}/xmcd_d/XMcd.ad
post-install:
@${CAT} ${PKGMESSAGE}
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd
.include <bsd.port.mk>