openbsd-ports/audio/xcd/Makefile

34 lines
769 B
Makefile

# $OpenBSD: Makefile,v 1.21 2006/01/11 19:42:15 jolan Exp $
COMMENT= "Tcl/Tk CD player"
DISTNAME= xcd-1.7
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=jmz/}
MAKE_FLAGS= BINDIR=${PREFIX}/bin \
CDDIR=${PREFIX}/lib/xcd \
MANDIR=${PREFIX}/man/man1
FAKE_FLAGS= BINDIR=${WRKINST}${PREFIX}/bin \
CDDIR=${WRKINST}${PREFIX}/lib/xcd \
MANDIR=${WRKINST}${PREFIX}/man/man1
WRKDIST= ${WRKDIR}/xcd
TK_VERSION= 8.4
RUN_DEPENDS= :tk-${TK_VERSION}.*:x11/tk/${TK_VERSION}
NO_REGRESS= Yes
do-configure:
@perl -pi -e "s,!!WISH!!,${LOCALBASE}/bin/wish${TK_VERSION}," ${WRKDIST}/xcd.in
.include <bsd.port.mk>