[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.54, Mon Oct 8 09:25:50 2012 UTC (8 years, 1 month ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.53: +1 -3 lines

Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.54 2012/10/08 09:25:50 asau 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

BROKEN=		Depends on TCL/TK 8.3

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

PKG_OPTIONS_VAR=	PKG_OPTIONS.sdr
PKG_SUPPORTED_OPTIONS=	inet6
PKG_SUGGESTED_OPTIONS=	inet6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Minet6)
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

.if ${OPSYS} == "SunOS"
post-configure:
	# 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 ${DESTDIR}${PREFIX}/bin/sdr

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