blob: e731182c515b952163eac6cbad7798efaa18c373 (
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
|
# $NetBSD: Makefile,v 1.25 2000/03/15 07:17:39 bouyer Exp $
#
DISTNAME= sdr-2.7
CATEGORIES= mbone tk80
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/2.7/
MAINTAINER= is@netbsd.org
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/
DEPENDS+= tk-8.0.5:../../x11/tk80
MIRROR_DISTFILE= no
USE_GMAKE= yes
RESTRICTED= "Uses encryption"
.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"
|