diff options
author | pav <pav@FreeBSD.org> | 2004-08-30 02:28:06 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-30 02:28:06 +0800 |
commit | 48d409f46574d16d8aa01cbcc6caec3c53e6601b (patch) | |
tree | 14ccc51e81af47e3b34e088da9479bee675368af /astro | |
parent | f68f0d7e267b54185fc91962b45ca58548b77bec (diff) | |
download | freebsd-ports-gnome-48d409f46574d16d8aa01cbcc6caec3c53e6601b.tar.gz freebsd-ports-gnome-48d409f46574d16d8aa01cbcc6caec3c53e6601b.tar.zst freebsd-ports-gnome-48d409f46574d16d8aa01cbcc6caec3c53e6601b.zip |
Add gkrellmoon2, a GKrellM 2 plugin showing a moon phaze.
PR: ports/70937
Submitted by: Jan Srzednicki <w@wrzask.pl>
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/gkrellmoon2/Makefile | 35 | ||||
-rw-r--r-- | astro/gkrellmoon2/distinfo | 2 | ||||
-rw-r--r-- | astro/gkrellmoon2/files/patch-CalcEphem.c | 10 | ||||
-rw-r--r-- | astro/gkrellmoon2/files/patch-Makefile | 15 | ||||
-rw-r--r-- | astro/gkrellmoon2/pkg-descr | 7 | ||||
-rw-r--r-- | astro/gkrellmoon2/pkg-plist | 3 |
7 files changed, 73 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 85f127c34b90..fd72c2fa0941 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -16,6 +16,7 @@ SUBDIR += gdesklets-weather SUBDIR += gkrellmearth SUBDIR += gkrellmoon + SUBDIR += gkrellmoon2 SUBDIR += gkrellmseti SUBDIR += gkrellsun SUBDIR += glunarclock diff --git a/astro/gkrellmoon2/Makefile b/astro/gkrellmoon2/Makefile new file mode 100644 index 000000000000..998d3db41bdc --- /dev/null +++ b/astro/gkrellmoon2/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: gkrellmoon2 +# Date Created: Wed Aug 25 13:18:39 CEST 2004 +# Whom: Jan Srzednicki <w@wrzask.pl> +# +# $FreeBSD$ +# + +PORTNAME= gkrellmoon2 +PORTVERSION= 0.6 +CATEGORIES= astro +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gkrellmoon +DISTNAME= gkrellmoon-${PORTVERSION} + +MAINTAINER= w@wrzask.pl +COMMENT= A moon clock plugin for Gkrellm2 + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 + +USE_X_PREFIX= yes +USE_GNOME= gtk20 + +ALL_TARGET= gkrellmoon.so + +do-install: + ${INSTALL_DATA} ${WRKSRC}/gkrellmoon.so \ + ${PREFIX}/libexec/gkrellm2/plugins +.ifndef(NOPORTDOCS) + ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \ + ${PREFIX}/share/doc/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME} +.endif #NOPORTDOCS + +.include <bsd.port.mk> diff --git a/astro/gkrellmoon2/distinfo b/astro/gkrellmoon2/distinfo new file mode 100644 index 000000000000..d3a940b455b0 --- /dev/null +++ b/astro/gkrellmoon2/distinfo @@ -0,0 +1,2 @@ +MD5 (gkrellmoon-0.6.tar.gz) = 0e30da51526d68cbce146ea2bdd9b685 +SIZE (gkrellmoon-0.6.tar.gz) = 55035 diff --git a/astro/gkrellmoon2/files/patch-CalcEphem.c b/astro/gkrellmoon2/files/patch-CalcEphem.c new file mode 100644 index 000000000000..780aa1d2a3be --- /dev/null +++ b/astro/gkrellmoon2/files/patch-CalcEphem.c @@ -0,0 +1,10 @@ +--- CalcEphem.c.orig Thu Aug 15 20:41:03 2002 ++++ CalcEphem.c Thu Aug 15 20:41:23 2002 +@@ -8,6 +8,7 @@ + #ifdef HAVE_CONFIG_H + #include <config.h> + #endif ++#include <string.h> + + #include "CalcEphem.h" + #include "Moon.h" diff --git a/astro/gkrellmoon2/files/patch-Makefile b/astro/gkrellmoon2/files/patch-Makefile new file mode 100644 index 000000000000..66c053c20eab --- /dev/null +++ b/astro/gkrellmoon2/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.orig Wed Dec 11 04:36:06 2002 ++++ Makefile Wed Aug 25 13:09:01 2004 +@@ -4,11 +4,9 @@ + INSTALLDIR = ${DESTDIR}/usr/lib/gkrellm2/plugins + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) ++CFLAGS += -Wall -fPIC $(GTK_INCLUDE) + LIBS = $(GTK_LIB) + LFLAGS = -shared +- +-CC = gcc $(CFLAGS) $(FLAGS) + + OBJS = gkrellmoon.o MoonRise.o CalcEphem.o Moon.o + diff --git a/astro/gkrellmoon2/pkg-descr b/astro/gkrellmoon2/pkg-descr new file mode 100644 index 000000000000..38537684b58e --- /dev/null +++ b/astro/gkrellmoon2/pkg-descr @@ -0,0 +1,7 @@ +gkrellmoon is a moon clock plugin for Gkrellm2. This plugin is based +upon the glunarclock and wmMoonClock applications. + +The port is based on the original gkrellmoon port for Grellm1 by Patrick Li. + +WWW: http://gkrellmoon.sourceforge.net/ +Author: Dale P. Smith <dsmith@altustech.com> diff --git a/astro/gkrellmoon2/pkg-plist b/astro/gkrellmoon2/pkg-plist new file mode 100644 index 000000000000..e68afdac222d --- /dev/null +++ b/astro/gkrellmoon2/pkg-plist @@ -0,0 +1,3 @@ +libexec/gkrellm2/plugins/gkrellmoon.so +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |