A Portfile for darwinports.
Signed-off-by: Bryan Larsen <[EMAIL PROTECTED]>
---
Makefile | 2 ++
Portfile.in | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -240,6 +240,8 @@ dist: cogito.spec
@rm $(tarname)/cogito.spec
@rmdir $(tarname)
gzip -9 $(tarname).tar
+ sed -e 's/@@VERSION@@/$(shell cat $(VERSION) | cut -d"-" -f2)/g' <
Portfile.in > Portfile
+ echo "checksums md5 " `md5sum $(tarname).tar.gz | cut -d ' ' -f 1` >>
Portfile
clean:
rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(GEN_SCRIPT) $(LIB_FILE)
config
diff --git a/Portfile.in b/Portfile.in
new file mode 100644
--- /dev/null
+++ b/Portfile.in
@@ -0,0 +1,25 @@
+# $Id: $
+PortSystem 1.0
+name cogito
+version @@VERSION@@
+categories devel
+maintainers [EMAIL PROTECTED]
+description Git core + cogito tools to provide a full distributed SCM.
+long_description The git core, developed by Linus Torvalds provides \
+ an extremely fast and flexible filesystem-based \
+ database designed to store directory trees with \
+ regard to their history. The cogito tools, \
+ developed by Petr Baudis, provide full distributed \
+ SCM (software change management) functionality.
+homepage http://kernel.org/pub/software/scm/cogito/
+master_sites http://kernel.org/pub/software/scm/cogito/
+configure {}
+depends_lib bin:gcp:coreutils
+depends_lib bin:gnuxargs:findutils
+build.type gnu
+destroot.type gnu
+destroot.destdir prefix=${prefix} DESTDIR=${destroot}
+test.run yes
+test.cmd make
+test.target test
+test.dir ${worksrcpath}
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html