2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.46 2006/02/05 23:10:05 joerg Exp $
|
1998-01-24 21:45:03 +01:00
|
|
|
#
|
1997-11-18 18:05:15 +01:00
|
|
|
|
2000-12-17 10:39:53 +01:00
|
|
|
DISTNAME= sdr-3.0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
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
|
|
|
|
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
|
1999-10-04 22:56:59 +02:00
|
|
|
|
2004-06-08 14:23:59 +02:00
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
2000-03-15 08:17:39 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2000-12-17 10:43:16 +01:00
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == "YES"
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.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
|
|
|
|
|
1999-10-04 22:56:59 +02:00
|
|
|
do-configure:
|
2000-12-17 10:39:53 +01:00
|
|
|
cd ${WRKSRC} ; ${SH} ./configure
|
2000-03-15 08:17:39 +01:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2000-12-17 10:39:53 +01:00
|
|
|
# Untested for sdr 3.0 !!!
|
2000-03-15 08:17:39 +01:00
|
|
|
${CAT} ${WRKSRC}/sdr/solaris/Makefile.solaris ${WRKSRC}/sdr/src/Makefile.template > ${WRKSRC}/sdr/solaris/Makefile
|
|
|
|
.endif
|
1999-10-04 22:56:59 +02:00
|
|
|
|
|
|
|
do-install:
|
2000-12-17 10:39:53 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sdr ${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"
|
|
|
|
.include "../../x11/tk83/buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|