summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@iohq.net>2016-01-31 05:39:48 +0000
committerAaron Ball <nullspoon@iohq.net>2016-01-31 05:39:48 +0000
commitfcada3fa65380d35e966b6981039d64f1fda07a5 (patch)
tree41662e97dc92fce86e4095ccd054095221fd0d8b
parent21913283fa3467910b13c7d143772b76abef115d (diff)
downloadports-fcada3fa65380d35e966b6981039d64f1fda07a5.tar.gz
ports-fcada3fa65380d35e966b6981039d64f1fda07a5.tar.xz
First commit of xfig
Shamelessly pulled from someone else's repo so I don't have to have more than one unofficial port enabled.
-rw-r--r--xfig/.md5sum2
-rw-r--r--xfig/Pkgfile27
2 files changed, 29 insertions, 0 deletions
diff --git a/xfig/.md5sum b/xfig/.md5sum
new file mode 100644
index 0000000..c889291
--- /dev/null
+++ b/xfig/.md5sum
@@ -0,0 +1,2 @@
+fae0c67a3951bd41c057deb63b6aa47a xfig.3.2.5.full.tar.gz
+47dd92c3845fee7d422b4fd21c6b2d82 xfig.3.2.5.patch
diff --git a/xfig/Pkgfile b/xfig/Pkgfile
new file mode 100644
index 0000000..526192c
--- /dev/null
+++ b/xfig/Pkgfile
@@ -0,0 +1,27 @@
+# Description: vector graphic editor
+# URL: http://xfig.org/
+# Maintainer:
+# Packager: Ivan Rodionov, jean at mosk ru
+# Depends on: xorg-imake xorg-libxpm xaw3d libjpeg
+
+name=xfig
+version=3.2.5
+release=1
+source=(http://xfig.org/software/$name/$version/$name.$version.full.tar.gz \
+ $name.$version.patch)
+
+build () {
+ cd $name.$version
+ patch -p0 <../$name.$version.patch
+ xmkmf
+ make
+ make DESTDIR=$PKG install.all
+
+ rm -f $PKG/usr/lib/X11/app-defaults
+ mv $PKG/etc/X11/app-defaults $PKG/usr/lib/X11/app-defaults
+ rm -rf $PKG/etc
+ rm -rf $PKG/usr/local
+ mv $PKG/usr/man/man1x $PKG/usr/man/man1
+ mv $PKG/usr/man/man1/xfig.1x $PKG/usr/man/man1/xfig.1
+ gzip $PKG/usr/man/man1/xfig.1
+}

Generated by cgit