summaryrefslogtreecommitdiff
path: root/mbone/mdp/Makefile
blob: e43d5ec03b019b777ddec2185a2b9f19e043fda4 (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
# $NetBSD: Makefile,v 1.19 2009/03/22 04:53:39 manu Exp $
#

# XXX: Shouldn't this package be simply called mdp, without the "src-"?
DISTNAME=	src-mdp-1.9a5
PKGREVISION=	1
CATEGORIES=	mbone
MASTER_SITES=	http://downloads.pf.itd.nrl.navy.mil/mdp/ \
		http://downloads.pf.itd.nrl.navy.mil/protolib/
DISTFILES=	src-mdp-1.9a5.tgz src-protolib-1.0a3d.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://cs.itd.nrl.navy.mil/work/mdp/
COMMENT=	Multicast file transfer

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/mdp
BUILD_DIRS=	unix
USE_LANGUAGES=	c++
USE_TOOLS+=	gmake
BUILD_TARGET=	mdp

INSTALLATION_DIRS=	bin

post-extract:
	rm ${WRKSRC}/protolib
	mv ${WRKDIR}/protolib-1.0 ${WRKSRC}/protolib

do-configure:
	cd ${WRKSRC}/unix && rm -f Makefile && ln -s Makefile.netbsd Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/unix/mdp ${DESTDIR}${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"