2012-10-08 11:20:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.54 2012/10/08 09:25:50 asau Exp $
|
1997-11-18 18:05:15 +01:00
|
|
|
|
2000-12-17 10:39:53 +01:00
|
|
|
DISTNAME= sdr-3.0
|
2006-04-11 20:43:29 +02:00
|
|
|
PKGREVISION= 2
|
2000-09-08 20:58:05 +02:00
|
|
|
CATEGORIES= mbone tk
|
2000-12-17 10:39:53 +01:00
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/3.0/
|
1997-11-18 18:05:15 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= is@NetBSD.org
|
1999-01-08 01:24:18 +01:00
|
|
|
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= MBone Session Directory
|
1997-11-18 18:05:15 +01:00
|
|
|
|
2010-02-10 19:11:45 +01:00
|
|
|
BROKEN= Depends on TCL/TK 8.3
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/sdr/${SYSDIR}
|
Reorganize crypto handling, as discussed on tech-pkg. Remove all
RESTRICTED= variables that were predicated on former U.S. export
regulations. Add CRYPTO=, as necessary, so it's still possible to
exclude all crypto packages from a build by setting MKCRYPTO=no
(but "lintpkgsrc -R" will no longer catch them).
Specifically,
- - All packages which set USE_SSL just lose their RESTRICTED
variable, since MKCRYPTO responds to USE_SSL directly.
- - realplayer7 and ns-flash keep their RESTRICTED, which is based
on license terms, but also gain the CRYPTO variable.
- - srp-client is now marked broken, since the distfile is evidently
no longer available. On this, we're no worse off than before.
[We haven't been mirroring the distfile, or testing the build!]
- - isakmpd gets CRYPTO for RESTRICTED, but remains broken.
- - crack loses all restrictions, as it does not evidently empower
a user to utilize strong encryption (working definition: ability
to encode a message that requires a secret key plus big number
arithmetic to decode).
2000-09-09 21:40:14 +02:00
|
|
|
CRYPTO= yes
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2007-09-08 00:12:10 +02:00
|
|
|
HAS_CONFIGURE= yes
|
1999-10-04 22:56:59 +02:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sdr
|
|
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
2012-06-12 17:45:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
2004-06-08 14:23:59 +02:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
2000-03-15 08:17:39 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2000-12-17 10:43:16 +01:00
|
|
|
.endif
|
|
|
|
|
1999-06-28 13:54:50 +02:00
|
|
|
.if exists(/usr/include/sys/inttypes.h)
|
|
|
|
EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_FLAGS+= EXTRA_FLAGS=${EXTRA_FLAGS:Q}
|
1998-10-02 08:47:29 +02:00
|
|
|
.endif
|
1997-11-18 18:05:15 +01:00
|
|
|
|
2000-03-15 08:17:39 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
SYSDIR= solaris
|
|
|
|
.else
|
2000-12-17 10:39:53 +01:00
|
|
|
SYSDIR= freebsd
|
2000-03-15 08:17:39 +01:00
|
|
|
.endif
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2003-07-03 16:40:49 +02:00
|
|
|
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
|
|
|
|
|
2000-03-15 08:17:39 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2007-09-08 00:12:10 +02:00
|
|
|
post-configure:
|
2000-12-17 10:39:53 +01:00
|
|
|
# Untested for sdr 3.0 !!!
|
2007-09-08 00:12:10 +02:00
|
|
|
${CAT} ${WRKSRC}/sdr/solaris/Makefile.solaris \
|
|
|
|
${WRKSRC}/sdr/src/Makefile.template \
|
|
|
|
> ${WRKSRC}/sdr/solaris/Makefile
|
2000-03-15 08:17:39 +01:00
|
|
|
.endif
|
1999-10-04 22:56:59 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sdr ${DESTDIR}${PREFIX}/bin/sdr
|
1999-10-04 22:56:59 +02:00
|
|
|
|
2005-04-05 12:34:19 +02:00
|
|
|
.include "../../mbone/common-mml/buildlink3.mk"
|
2010-08-21 12:17:10 +02:00
|
|
|
#.include "../../x11/tk83/buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|