summaryrefslogtreecommitdiffstats
path: root/ports/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ports/Pkgfile')
-rw-r--r--ports/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/ports/Pkgfile b/ports/Pkgfile
new file mode 100644
index 0000000..917a20e
--- /dev/null
+++ b/ports/Pkgfile
@@ -0,0 +1,23 @@
+description="CRUX ports system tools."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://crux.nu"
+depends=()
+
+# FIXME: These ports files are for Crux’s repositories… not ours.
+# FIXME: We should use git/httpup instead of rsync, for these files…
+
+name=ports
+version=1.5
+release=10
+source=(http://crux.nu/files/tools/$name/$name-$version.tar.gz core.rsync opt.rsync xorg.rsync contrib.rsync.inactive)
+build ()
+{
+ cd $name-$version;
+ make;
+ make DESTDIR=$PKG install;
+ install -m 0644 ../core.rsync $PKG/etc/ports/core.rsync;
+ install -m 0644 ../opt.rsync $PKG/etc/ports/opt.rsync;
+ install -m 0644 ../xorg.rsync $PKG/etc/ports/xorg.rsync;
+ install -m 0644 ../contrib.rsync.inactive $PKG/etc/ports/contrib.rsync.inactive
+}