blob: 9864ba69be5bdc572af007212f585ddae6697a6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.27 2000/09/01 17:58:05 jwise Exp $
#
DISTNAME= sdr-2.7
CATEGORIES= mbone tk80
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/2.7/
BROKEN= This package has not yet been updated to work with tcl-8.3.2.
MAINTAINER= is@netbsd.org
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/
DEPENDS+= tk-8.0.5:../../x11/tk80
RESTRICTED= "Uses encryption"
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
USE_GMAKE= yes
.include "../../mk/bsd.prefs.mk"
.if exists(/usr/include/sys/inttypes.h)
EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H
MAKE_FLAGS+= EXTRA_FLAGS="${EXTRA_FLAGS}"
.endif
.if ${OPSYS} == "SunOS"
SYSDIR= solaris
.else
SYSDIR= netbsd
.endif
do-configure:
cd ${WRKSRC}/common ; ${SH} ./configure
.if ${OPSYS} == "SunOS"
${CAT} ${WRKSRC}/sdr/solaris/Makefile.solaris ${WRKSRC}/sdr/src/Makefile.template > ${WRKSRC}/sdr/solaris/Makefile
.else
${MKDIR} ${WRKSRC}/sdr/netbsd
${CAT} ${FILESDIR}/Makefile.netbsd ${WRKSRC}/sdr/src/Makefile.template > ${WRKSRC}/sdr/netbsd/Makefile
.endif
do-build:
cd ${WRKSRC}/common ; ${GMAKE}
cd ${WRKSRC}/sdr/${SYSDIR} ; ${GMAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdr/${SYSDIR}/sdr ${PREFIX}/bin/sdr
.include "../../mk/bsd.pkg.mk"
|