openbsd-ports/mbone/rat/Makefile
naddy 5620e78504 - Fix build on OpenBSD 3.0.
- Add gmake dependency.
- Respect CC, CFLAGS; reference X11BASE, LOCALBASE.
- This is not BSD-licensed.
- Install man page.
- All around clean-up.
2001-10-01 02:00:06 +00:00

36 lines
923 B
Makefile

# $OpenBSD: Makefile,v 1.13 2001/10/01 02:00:06 naddy Exp $
COMMENT= "Robust Audio Tool from UCL"
DISTNAME= rat-3.0.33
CATEGORIES= mbone
NEED_VERSION= 1.465
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/3.0.33/
LIB_DEPENDS= tk80::x11/tk/8.0
WRKDIST= ${WRKDIR}/rat-3.0
USE_GMAKE= Yes
MAKE_FLAGS= CC=${CC} OSTYPE=${OPSYS} OSVERS=${OPSYS_VER} OSMVER=${OSMAJOR}
ALL_TARGET= bin/rat-${OPSYS}-${OSREV}
post-extract:
@cp ${FILESDIR}/Makefile_OpenBSD ${WRKSRC}/Makefile_${OPSYS}_${OSMAJOR}
pre-build:
@mkdir -p ${WRKSRC}/bin ${WRKSRC}/objs/${OPSYS}_${OPSYS_VER}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/rat-${OPSYS}-${OPSYS_VER} \
${PREFIX}/bin/rat
${INSTALL_MAN} ${WRKSRC}/man/man1/rat.1 ${PREFIX}/man/man1
.include <bsd.port.mk>