0a498280f1
Don't require MTREE. Simplify Makefiles by building directly as bin/rat -- pkgsrc doesn't support multiple builds in one WRKSRC anyway.
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2006/02/24 00:35:59 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= rat-3.0.28
|
|
PKGREVISION= 2
|
|
CATEGORIES= mbone
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/3.0.28/
|
|
|
|
MAINTAINER= mycroft@NetBSD.org
|
|
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/
|
|
COMMENT= Robust Audio Tool - multicast audioconferencing
|
|
|
|
NO_MTREE= yes
|
|
CRYPTO= yes
|
|
USE_TOOLS+= gmake
|
|
USE_X11BASE= yes
|
|
|
|
USER= build
|
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
post-patch:
|
|
${CP} ${WRKSRC}/Makefile_NetBSD_1 ${WRKSRC}/Makefile_NetBSD_2
|
|
${CP} ${WRKSRC}/Makefile_NetBSD_1 ${WRKSRC}/Makefile_NetBSD_3
|
|
${CP} ${WRKSRC}/Makefile_NetBSD_1 ${WRKSRC}/Makefile_NetBSD_4
|
|
${CP} ${WRKSRC}/Makefile_NetBSD_1 ${WRKSRC}/Makefile_DragonFly_1
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && USER=${USER} PREFIX=${PREFIX} MAKE=${MAKE_PROGRAM} LDFLAGS="${LDFLAGS}" X11BASE=${X11BASE} LOCALBASE=${LOCALBASE} TCLCONFIG=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh ./Build rat
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/rat ${PREFIX}/bin/rat
|
|
${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/rat.1 ${PREFIX}/${PKGMANDIR}/man1/rat.1
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|