2012-10-08 11:20:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2012/10/08 09:25:50 asau Exp $
|
2002-07-26 14:17:04 +02:00
|
|
|
#
|
|
|
|
|
2007-12-01 14:56:42 +01:00
|
|
|
# XXX: Shouldn't this package be simply called mdp, without the "src-"?
|
2002-07-26 14:17:04 +02:00
|
|
|
DISTNAME= src-mdp-1.9a5
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2002-07-26 14:17:04 +02:00
|
|
|
CATEGORIES= mbone
|
2007-12-01 14:55:11 +01:00
|
|
|
MASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mdp/ \
|
|
|
|
http://downloads.pf.itd.nrl.navy.mil/protolib/
|
2002-07-26 14:17:04 +02:00
|
|
|
DISTFILES= src-mdp-1.9a5.tgz src-protolib-1.0a3d.tgz
|
|
|
|
|
2009-03-22 05:53:38 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-28 23:29:47 +02:00
|
|
|
HOMEPAGE= http://cs.itd.nrl.navy.mil/work/mdp/
|
2002-07-26 14:17:04 +02:00
|
|
|
COMMENT= Multicast file transfer
|
|
|
|
|
2007-12-01 14:55:11 +01:00
|
|
|
WRKSRC= ${WRKDIR}/mdp
|
|
|
|
BUILD_DIRS= unix
|
2006-06-06 16:56:20 +02:00
|
|
|
USE_LANGUAGES= c++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= mdp
|
2002-07-26 14:17:04 +02:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2007-12-01 14:55:11 +01:00
|
|
|
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
|
|
|
|
|
2002-07-26 14:17:04 +02:00
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unix/mdp ${DESTDIR}${PREFIX}/bin
|
2002-07-26 14:17:04 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|