2003-03-29 13:40:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.28 2003/03/29 12:41:47 jmmv Exp $
|
1998-03-06 03:18:07 +01:00
|
|
|
#
|
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
DISTNAME= nt.1.5a23
|
|
|
|
PKGNAME= nte-1.5a23
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-09-08 03:09:34 +02:00
|
|
|
CATEGORIES= mbone tk
|
1999-05-24 22:39:35 +02:00
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/1.5a23/
|
1998-03-06 03:18:07 +01:00
|
|
|
|
1999-05-24 22:39:35 +02:00
|
|
|
MAINTAINER= mycroft@netbsd.org
|
|
|
|
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/nte/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Multicast Network Text Editor
|
1998-03-06 03:18:07 +01:00
|
|
|
|
2001-05-05 21:51:13 +02:00
|
|
|
DEPENDS+= tk>=8.3.2:../../x11/tk
|
1998-03-06 03:18:07 +01:00
|
|
|
|
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
|
1999-05-24 22:39:35 +02:00
|
|
|
USE_GMAKE= yes
|
1998-03-06 03:18:07 +01:00
|
|
|
# Pass this on to our child
|
|
|
|
|
|
|
|
do-configure:
|
2000-01-09 02:39:37 +01:00
|
|
|
cd ${WRKSRC}/netbsd && ${SH} configure
|
1998-03-06 03:18:07 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
1998-03-06 03:18:07 +01:00
|
|
|
|
|
|
|
#DISGUSTING HACK ALERT
|
|
|
|
#Although nte includes an hsearch.c for those who don't have it in
|
|
|
|
# libc, there's no way to get the default Makefile to build it.
|
|
|
|
# So we build it here.
|
1998-04-15 12:38:15 +02:00
|
|
|
#This is below the .include "../../mk/bsd.pkg.mk" since variable names in
|
1998-03-06 03:18:07 +01:00
|
|
|
# targets or dependencies are evaluated when they are read so
|
1998-04-15 12:38:15 +02:00
|
|
|
# bsd.pkg.mk must have defined ${WRKSRC} already.
|
1998-03-06 03:18:07 +01:00
|
|
|
pre-build: ${WRKSRC}/netbsd/hsearch.o
|
|
|
|
|
|
|
|
${WRKSRC}/netbsd/hsearch.o: ${WRKSRC}/src/hsearch.c
|
1999-04-05 05:41:16 +02:00
|
|
|
${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c
|