blob: 055a38443471347bdd42fcd40202493c56513842 (
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
|
# $NetBSD: Makefile,v 1.31 2000/12/17 09:39:53 hubertf Exp $
#
DISTNAME= sdr-3.0
CATEGORIES= mbone tk
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/3.0/
MAINTAINER= is@netbsd.org
HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/
DEPENDS+= tk-8.3.2:../../x11/tk
DEPENDS+= common-mml>=1.2.0:../common-mml
CRYPTO= yes
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= freebsd
.endif
WRKSRC= ${WRKDIR}/sdr/${SYSDIR}
USE_GMAKE= yes
do-configure:
cd ${WRKSRC} ; ${SH} ./configure
.if ${OPSYS} == "SunOS"
# Untested for sdr 3.0 !!!
${CAT} ${WRKSRC}/sdr/solaris/Makefile.solaris ${WRKSRC}/sdr/src/Makefile.template > ${WRKSRC}/sdr/solaris/Makefile
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdr ${PREFIX}/bin/sdr
.include "../../mk/bsd.pkg.mk"
|