diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-02 14:11:02 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-04-02 14:11:02 +0000 |
commit | d5a77cab8aff2ca2b5b12dd646150c447b4346dc (patch) | |
tree | d9c862ee6559baa776a5110031c7f77d94b685a8 /astro/sunclock | |
parent | Update to 0.9.5.1. pthread and xsplay are still disabled. (diff) |
upgrade to 3.27
change master site
ps. no response from maintainer (torstenb)
PR: 23953
Submitted by: ijliao (me)
Notes
Notes:
svn path=/head/; revision=40753
Diffstat (limited to 'astro/sunclock')
-rw-r--r-- | astro/sunclock/Makefile | 11 | ||||
-rw-r--r-- | astro/sunclock/distinfo | 2 | ||||
-rw-r--r-- | astro/sunclock/files/patch-aa | 42 | ||||
-rw-r--r-- | astro/sunclock/pkg-plist | 8 |
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 |