diff options
author | lioux <lioux@FreeBSD.org> | 2001-06-28 10:55:40 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-06-28 10:55:40 +0800 |
commit | 68f48e215525f364d7d9a6166b188cf64d345305 (patch) | |
tree | 0912902232c052f4b1efc85b8222c6cdde67a99e /astro | |
parent | 114e6ebca1fa4edd0205983b0b82066f8c11c00e (diff) | |
download | freebsd-ports-gnome-68f48e215525f364d7d9a6166b188cf64d345305.tar.gz freebsd-ports-gnome-68f48e215525f364d7d9a6166b188cf64d345305.tar.zst freebsd-ports-gnome-68f48e215525f364d7d9a6166b188cf64d345305.zip |
First import of port version 0.3 for a moon clock plugin for Gkrellm
PR: 28429
Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/gkrellmoon/Makefile | 32 | ||||
-rw-r--r-- | astro/gkrellmoon/distinfo | 1 | ||||
-rw-r--r-- | astro/gkrellmoon/files/patch-Makefile | 32 | ||||
-rw-r--r-- | astro/gkrellmoon/pkg-comment | 1 | ||||
-rw-r--r-- | astro/gkrellmoon/pkg-descr | 7 | ||||
-rw-r--r-- | astro/gkrellmoon/pkg-plist | 3 |
7 files changed, 77 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 7d468d001112..5482f3358820 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -4,6 +4,7 @@ SUBDIR += SETIsupport SUBDIR += dgpsip SUBDIR += ephem + SUBDIR += gkrellmoon SUBDIR += glunarclock SUBDIR += jday SUBDIR += ksetiwatch diff --git a/astro/gkrellmoon/Makefile b/astro/gkrellmoon/Makefile new file mode 100644 index 000000000000..39ab02b89b5e --- /dev/null +++ b/astro/gkrellmoon/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: gkrellmoon +# Date Created: Tue Jun 26 18:04:37 EDT 2001 +# Whom: Patrick Li <pat@databits.net> +# +# $FreeBSD$ +# + +PORTNAME= gkrellmoon +PORTVERSION= 0.3 +CATEGORIES= astro +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= gkrellmoon + +MAINTAINER= pat@databits.net + +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +USE_X_PREFIX= yes +USE_IMLIB= yes +MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \ + THREAD_CFLAGS="${PTHREAD_CFLAGS}" +ALL_TARGET= ${PORTNAME}.so + +post-install: +.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/gkrellmoon/distinfo b/astro/gkrellmoon/distinfo new file mode 100644 index 000000000000..f77ba6ff5032 --- /dev/null +++ b/astro/gkrellmoon/distinfo @@ -0,0 +1 @@ +MD5 (gkrellmoon-0.3.tar.gz) = a9b9a66c01178c63f1ec180ca87d0c61 diff --git a/astro/gkrellmoon/files/patch-Makefile b/astro/gkrellmoon/files/patch-Makefile new file mode 100644 index 000000000000..a6f25443410a --- /dev/null +++ b/astro/gkrellmoon/files/patch-Makefile @@ -0,0 +1,32 @@ +--- Makefile.orig Wed Apr 11 19:46:01 2001 ++++ Makefile Wed Jun 27 23:46:30 2001 +@@ -1,17 +1,16 @@ +-GTK_INCLUDE = `gtk-config --cflags` +-GTK_LIB = `gtk-config --libs` ++GTK_INCLUDE = `$(GTK_CONFIG) --cflags` ++GTK_LIB = `$(GTK_CONFIG) --libs` + + IMLIB_INCLUDE = `imlib-config --cflags-gdk` + IMLIB_LIB = `imlib-config --libs-gdk` +-THREAD_LIB = -lpthread +-INSTALLDIR = /usr/share/gkrellm/plugins ++INSTALLDIR = $(PREFIX)/libexec/gkrellm/plugins + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) +-LIBS = $(GTK_LIB) $(IMLIB_LIB) $(THREAD_LIB) ++FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ${PTHREAD_CFLAGS} ++LIBS = $(GTK_LIB) $(IMLIB_LIB) ${PTHREAD_LIBS} + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC += $(CFLAGS) $(FLAGS) + + OBJS = gkrellmoon.o MoonRise.o CalcEphem.o Moon.o + +@@ -26,4 +25,4 @@ + # %.o: %.c + + install: gkrellmoon.so +- sudo install -c -s -m 644 gkrellmoon.so $(INSTALLDIR) ++ $(BSD_INSTALL_DATA) gkrellmoon.so $(INSTALLDIR) diff --git a/astro/gkrellmoon/pkg-comment b/astro/gkrellmoon/pkg-comment new file mode 100644 index 000000000000..2c52d4fcbde7 --- /dev/null +++ b/astro/gkrellmoon/pkg-comment @@ -0,0 +1 @@ +A moon clock plugin for Gkrellm diff --git a/astro/gkrellmoon/pkg-descr b/astro/gkrellmoon/pkg-descr new file mode 100644 index 000000000000..f11420fcb56e --- /dev/null +++ b/astro/gkrellmoon/pkg-descr @@ -0,0 +1,7 @@ +gkrellmoon is a moon clock plugin for Gkrellm. This plugin is based +upon the glunarclock and wmMoonClock applications. + +WWW: http://gkrellmoon.sourceforge.net/ +Author: Dale P. Smith <dsmith@altustech.com> + +- Patrick Li <pat@databits.net> diff --git a/astro/gkrellmoon/pkg-plist b/astro/gkrellmoon/pkg-plist new file mode 100644 index 000000000000..e0b3e8dd4274 --- /dev/null +++ b/astro/gkrellmoon/pkg-plist @@ -0,0 +1,3 @@ +libexec/gkrellm/plugins/gkrellmoon.so +%%PORTDOCS%%share/doc/gkrellmoon/README +%%PORTDOCS%%@dirrm share/doc/gkrellmoon |