Commit 2acffb1d authored by Mike Hibler's avatar Mike Hibler

Our ports must be in the /usr/ports/misc/Makefile in order for the INDEX

to get recreated correctly.  So have ports-install apply a patch (though
it doesn't automatically recreate the INDEX as that takes forever...)
parent afd31a1d
......@@ -9,6 +9,7 @@ PORTSUBDIR=misc
SRCDIR=`dirname $0`
PORTS="elvind emulab-boss emulab-fs emulab-ops libelvin emulab-tftp-hpa p5-GD-old p5-DBD-mysql50-old ulsshxmlrpcpp emulab-iperf emulab-php4 emulab-mailman emulab-pubsub emulab-pubsub-elvincompat"
echo "Copying ports ..."
for PORT in $PORTS
do
cp -r $SRCDIR/$PORT $PORTSDIR/$PORTSUBDIR
......@@ -18,4 +19,14 @@ do
fi
done
# "register" the emulab ports
echo "Patching $PORTSDIR/$PORTSSUBDIR/Makefile ..."
patch -p0 $PORTSDIR/$PORTSSUBDIR/Makefile ports.patch
## recreate the index
#echo "Recreating ports INDEX (this will take forever) ..."
#cd $PORTSDIR
#make index
echo "Done!"
exit 0
Index: Makefile
===================================================================
RCS file: /share/freebsd/CVS/ports/misc/Makefile,v
retrieving revision 1.866
diff -u -r1.866 Makefile
--- Makefile 29 Oct 2007 23:47:35 -0000 1.866
+++ Makefile 21 Aug 2008 20:47:38 -0000
@@ -514,5 +514,20 @@
SUBDIR += ytree
SUBDIR += zaptel
SUBDIR += zoneinfo
+# Emulab ports
+ SUBDIR += elvind
+ SUBDIR += emulab-boss
+ SUBDIR += emulab-fs
+ SUBDIR += emulab-ops
+ SUBDIR += libelvin
+ SUBDIR += emulab-tftp-hpa
+ SUBDIR += p5-GD-old
+ SUBDIR += p5-DBD-mysql50-old
+ SUBDIR += ulsshxmlrpcpp
+ SUBDIR += emulab-iperf
+ SUBDIR += emulab-php4
+ SUBDIR += emulab-mailman
+ SUBDIR += emulab-pubsub
+ SUBDIR += emulab-pubsub-elvincompat
.include <bsd.port.subdir.mk>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment