openbsd-ports/audio/xcd/Makefile
2010-10-18 16:52:44 +00:00

38 lines
795 B
Makefile

# $OpenBSD: Makefile,v 1.26 2010/10/18 16:52:47 espie Exp $
COMMENT= Tcl/Tk CD player
DISTNAME= xcd-1.7
REVISION= 2
CATEGORIES= audio
# custom free license; see top of cdplayer.cc
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/tk
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
USE_GROFF = Yes
MODTK_VERSION= 8.4
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
NO_REGRESS= Yes
do-configure:
@perl -pi -e "s,!!WISH!!,${MODTK_BIN}," ${WRKDIST}/xcd.in
.include <bsd.port.mk>