aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-02 22:11:02 +0800
committerijliao <ijliao@FreeBSD.org>2001-04-02 22:11:02 +0800
commitc711fe5743a003a9f6b61638261060d153a3cbaf (patch)
treed2c7cbfb6688485fc8913eb539b23e101c1fc641 /astro
parent309971b3d7a528746b9b1669a35f5d27ca12aa6e (diff)
downloadfreebsd-ports-gnome-c711fe5743a003a9f6b61638261060d153a3cbaf.tar.gz
freebsd-ports-gnome-c711fe5743a003a9f6b61638261060d153a3cbaf.tar.zst
freebsd-ports-gnome-c711fe5743a003a9f6b61638261060d153a3cbaf.zip
upgrade to 3.27
change master site ps. no response from maintainer (torstenb) PR: 23953 Submitted by: ijliao (me)
Diffstat (limited to 'astro')
-rw-r--r--astro/sunclock/Makefile11
-rw-r--r--astro/sunclock/distinfo2
-rw-r--r--astro/sunclock/files/patch-aa42
-rw-r--r--astro/sunclock/pkg-plist8
4 files changed, 43 insertions, 20 deletions
diff --git a/astro/sunclock/Makefile b/astro/sunclock/Makefile
index 415cd6f086aa..a0dbb31cbfaf 100644
--- a/astro/sunclock/Makefile
+++ b/astro/sunclock/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= sunclock
-PORTVERSION= 1.5
-CATEGORIES= astro
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+PORTVERSION= 3.27
+CATEGORIES= astro x11-clocks
+MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/
+EXTRACT_SUFX= .tgz
MAINTAINER= torstenb@FreeBSD.org
@@ -17,4 +17,7 @@ USE_IMAKE= YES
MAN1= sunclock.1
+post-patch:
+ @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/Imakefile
+
.include <bsd.port.mk>
diff --git a/astro/sunclock/distinfo b/astro/sunclock/distinfo
index 4ceeca1e5a5e..897ae1ac2da8 100644
--- a/astro/sunclock/distinfo
+++ b/astro/sunclock/distinfo
@@ -1 +1 @@
-MD5 (sunclock-1.5.tar.gz) = 88110decba75cfae17b21a3a64a30446
+MD5 (sunclock-3.27.tgz) = fccba948f48a65a3c481a8411f41de98
diff --git a/astro/sunclock/files/patch-aa b/astro/sunclock/files/patch-aa
index fa07a1706837..147dbfb7f52c 100644
--- a/astro/sunclock/files/patch-aa
+++ b/astro/sunclock/files/patch-aa
@@ -1,19 +1,31 @@
---- Imakefile.orig Wed Jul 8 08:16:59 1998
-+++ Imakefile Wed Jul 8 08:17:11 1998
-@@ -11,14 +11,14 @@
- CCOPTIONS = -Ae -DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\"
- #else
- # gcc
--CCOPTIONS = -DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\" -Wall
-+CCOPTIONS = -DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\" -Wall -DNEW_CTIME
- #endif
+--- Imakefile.orig Sat Dec 30 15:24:02 2000
++++ Imakefile Sat Dec 30 15:38:55 2000
+@@ -8,7 +8,7 @@
+ XCOMM Pick -O or -g
+ XCOMM
+
+-SHAREDIR=/usr/share/sunclock
++SHAREDIR=%%X11BASE%%/share/sunclock
- SRCS=sunclock.c bitmaps.c astro.c tildepath.c
- OBJS=sunclock.o bitmaps.o astro.o tildepath.o
+ #ifdef HPArchitecture
+ CCOPTIONS = -Ae -DBIGFONT=\"6x13\" -DSMALLFONT=\"6x10\" -DAPPDEF=\"$(DESTDIR)$(XAPPLOADDIR)\" -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
+@@ -16,16 +16,16 @@
+ # SunOS
+ #CCOPTIONS=-DBIGFONT=\"6x13\" -DSMALLFONT=\"6x10\" -O -DNEW_CTIME -DAPPDEF=\"$(DESTDIR)$(XAPPLOADDIR)\" -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
+ # Solaris, Linux
+-CCOPTIONS=-DBIGFONT=\"6x13\" -DSMALLFONT=\"6x10\" -O -DAPPDEF=\"$(DESTDIR)$(XAPPLOADDIR)\" -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\"
++CCOPTIONS=-DBIGFONT=\"6x13\" -DSMALLFONT=\"6x10\" -O -DAPPDEF=\"$(DESTDIR)$(XAPPLOADDIR)\" -DSHAREDIR=\"$(DESTDIR)$(SHAREDIR)\" -DNEW_CTIME
+ #endif
- # may have to replace XONLYLIB with XLIB for old imake
--LOCAL_LIBRARIES=$(XONLYLIB) -lm
-+LOCAL_LIBRARIES=$(XONLYLIB) -lm -lcompat
+ SRCS=sunclock.c astro.c tildepath.c mapdata.c dirlist.c
+ OBJS=sunclock.o astro.o tildepath.o mapdata.o dirlist.o
+-LOCAL_LIBRARIES=$(XLIB) -lXpm -lm
++LOCAL_LIBRARIES=$(XLIB) -lXpm -lm -lcompat
+ DEPLIBS= # I don't know what I'm doing, and I hate imake!
- #DEPLIBS= # I don't know what I'm doing, and I hate imake!
+ genmap:: mapdata.o
+- gcc -c mapgen.c -o mapgen.o
++ gcc -I%%X11BASE%%/include -c mapgen.c -o mapgen.o
+ gcc -o mapgen -O mapgen.o mapdata.o -lm
+ maps:: genmap
diff --git a/astro/sunclock/pkg-plist b/astro/sunclock/pkg-plist
index 8b31e74c3f02..82d2c899714a 100644
--- a/astro/sunclock/pkg-plist
+++ b/astro/sunclock/pkg-plist
@@ -1 +1,9 @@
bin/sunclock
+lib/X11/app-defaults/Sunclock
+share/sunclock/i18n/Sunclock.de
+share/sunclock/i18n/Sunclock.en
+share/sunclock/i18n/Sunclock.es
+share/sunclock/i18n/Sunclock.fr
+share/sunclock/i18n/Sunclock.it
+share/sunclock/i18n/Sunclock.se
+@dirrm share/sunclock/i18n