aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-10-25 07:02:45 +0800
committermaho <maho@FreeBSD.org>2003-10-25 07:02:45 +0800
commit2c9a50d80341669dc15431cdd2320f9a286f3882 (patch)
treee1a6c1291889232f7d24410cc6a41f694aa9edd9
parent2902280a66bb3a4388d7d12f48d902009f46c41f (diff)
downloadfreebsd-ports-gnome-2c9a50d80341669dc15431cdd2320f9a286f3882.tar.gz
freebsd-ports-gnome-2c9a50d80341669dc15431cdd2320f9a286f3882.tar.zst
freebsd-ports-gnome-2c9a50d80341669dc15431cdd2320f9a286f3882.zip
Add new port mxico(Maho's eXtention to ico).
not only displaying regular polyhedra, semiregular polyhedra and Zalgaller polyhedra
-rw-r--r--x11/Makefile1
-rw-r--r--x11/mxico/Makefile38
-rw-r--r--x11/mxico/distinfo1
-rw-r--r--x11/mxico/pkg-descr4
-rw-r--r--x11/mxico/pkg-plist4
5 files changed, 48 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 308999919d2e..56ad42f7ba92 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -80,6 +80,7 @@
SUBDIR += mgapdesk
SUBDIR += mlterm
SUBDIR += multi-gnome-terminal
+ SUBDIR += mxico
SUBDIR += numlockx
SUBDIR += nvidia-driver
SUBDIR += offix-clipboard
diff --git a/x11/mxico/Makefile b/x11/mxico/Makefile
new file mode 100644
index 000000000000..40f414d5a3bb
--- /dev/null
+++ b/x11/mxico/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: mxico
+# Date created: 25 October 2003
+# Whom: NAKATA, Maho <maho@FreeBSD.org>
+#
+# $FreeBSD$
+#
+# NB: Do not delete or wrap post-install section, since we have to provide
+# READMEj and README
+
+PORTNAME= mxico
+PORTVERSION= 1.0.0
+CATEGORIES= x11
+MASTER_SITES= http://people.freebsd.org/~maho/mxico/
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= Rotating Object on the screen (Zalgaller polyhedra)
+
+USE_IMAKE= yes
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAN6= mxico.6
+
+pre-build:
+ @cd ${WRKSRC} && ${MV} Makefile Makefile~ && ${SED} \
+ -e 's: BINDIR .*:BINDIR=${PREFIX}/bin:' \
+ -e 's: MANDIR .*:MANDIR=${PREFIX}/man/man6:' \
+ -e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile
+
+pre-install:
+ @${MKDIR} ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/man/man6
+ @${MKDIR} ${DOCSDIR}
+
+post-install:
+ @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
+ @(cd ${WRKSRC}; ${INSTALL_DATA} polyhedron/READMEj ${DOCSDIR})
+ @(cd ${WRKSRC}; ${INSTALL_DATA} polyhedron/README ${DOCSDIR})
+.include <bsd.port.mk>
diff --git a/x11/mxico/distinfo b/x11/mxico/distinfo
new file mode 100644
index 000000000000..e1ef4298b5b6
--- /dev/null
+++ b/x11/mxico/distinfo
@@ -0,0 +1 @@
+MD5 (mxico-1.0.0.tar.bz2) = eda230b580c00dc9d5f7932b002a697b
diff --git a/x11/mxico/pkg-descr b/x11/mxico/pkg-descr
new file mode 100644
index 000000000000..c1db0744119d
--- /dev/null
+++ b/x11/mxico/pkg-descr
@@ -0,0 +1,4 @@
+MxIco(Maho's eXtended ICO) is a simple demo for X, rotating polyhedra
+in the window.
+
+WWW: http://people.freebsd.org/~maho/mxico/
diff --git a/x11/mxico/pkg-plist b/x11/mxico/pkg-plist
new file mode 100644
index 000000000000..e25f9781eafc
--- /dev/null
+++ b/x11/mxico/pkg-plist
@@ -0,0 +1,4 @@
+bin/mxico
+%%DOCSDIR%%/README
+%%DOCSDIR%%/READMEj
+