[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / sdr

File: [cvs.NetBSD.org] / pkgsrc / mbone / sdr / Attic / Makefile (download)

Revision 1.47, Tue Apr 11 18:43:29 2006 UTC (14 years, 7 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.46: +2 -2 lines

Recursive PKGREVISION bump due to the common-mml update.

# $NetBSD: Makefile,v 1.47 2006/04/11 18:43:29 minskim Exp $
#

DISTNAME=	sdr-3.0
PKGREVISION=	2
CATEGORIES=	mbone tk
MASTER_SITES=	http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/3.0/

MAINTAINER=	is@NetBSD.org
HOMEPAGE=	http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/
COMMENT=	MBone Session Directory

WRKSRC=		${WRKDIR}/sdr/${SYSDIR}
CRYPTO=		yes
USE_TOOLS+=	gmake

BUILD_DEFS+=		USE_INET6

.include "../../mk/bsd.prefs.mk"

.if defined(USE_INET6) && ${USE_INET6} == "YES"
CONFIGURE_ARGS+= --enable-ipv6
.endif

.if exists(/usr/include/sys/inttypes.h)
EXTRA_FLAGS+=	-DHAVE_SYS_INTTYPES_H
MAKE_FLAGS+=	EXTRA_FLAGS=${EXTRA_FLAGS:Q}
.endif

.if ${OPSYS} == "SunOS"
SYSDIR= solaris
.else
SYSDIR= freebsd
.endif

INSTALLATION_DIRS=	bin

post-patch:
	${MV} ${WRKSRC}/../src/sdr.tcl ${WRKSRC}/../src/sdr.tcl.in &&	\
	${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/../src/sdr.tcl.in >	\
		${WRKSRC}/../src/sdr.tcl

do-configure:
	cd ${WRKSRC} ; ${SH} ./configure
.if ${OPSYS} == "SunOS"
	# Untested for sdr 3.0 !!!
	${CAT} ${WRKSRC}/sdr/solaris/Makefile.solaris ${WRKSRC}/sdr/src/Makefile.template > ${WRKSRC}/sdr/solaris/Makefile
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sdr ${PREFIX}/bin/sdr

.include "../../mbone/common-mml/buildlink3.mk"
.include "../../x11/tk83/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"