aboutsummaryrefslogtreecommitdiff
path: root/misc/astrolog
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2010-03-23 13:20:05 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2010-03-23 13:20:05 +0000
commitfc3be1aaa095be709f6997d859b27f12b73daefe (patch)
treeddb29ef60488c57e9d9a0d4e63f1f40d9892f0a6 /misc/astrolog
parent448a166c58cd42d5fb06c1c323ee7b470db5460a (diff)
downloadports-fc3be1aaa095be709f6997d859b27f12b73daefe.tar.gz
ports-fc3be1aaa095be709f6997d859b27f12b73daefe.zip
Notes
Diffstat (limited to 'misc/astrolog')
-rw-r--r--misc/astrolog/Makefile2
-rw-r--r--misc/astrolog/files/patch-astrolog.dat24
-rw-r--r--misc/astrolog/pkg-plist3
3 files changed, 27 insertions, 2 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile
index ceb79f8ae03d..5abf781349b0 100644
--- a/misc/astrolog/Makefile
+++ b/misc/astrolog/Makefile
@@ -10,7 +10,7 @@
PORTNAME= astrolog
PORTVERSION= 5.40
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= misc
MASTER_SITES= http://www.astrolog.org/ftp/ephem/:ephem \
http://www.astrolog.org/ftp/:dist
diff --git a/misc/astrolog/files/patch-astrolog.dat b/misc/astrolog/files/patch-astrolog.dat
new file mode 100644
index 000000000000..6cc3a8163402
--- /dev/null
+++ b/misc/astrolog/files/patch-astrolog.dat
@@ -0,0 +1,24 @@
+--- astrolog.dat.orig 1998-12-23 23:29:33.000000000 +0300
++++ astrolog.dat 2010-03-23 12:41:51.000000000 +0300
+@@ -1,7 +1,7 @@
+ @0308 ; Astrolog (5.40) default settings file astrolog.dat
+
+--z0 0 ; Default Daylight time setting [0 standard, 1 daylight]
+--z +8:00 ; Default time zone [hours before GMT ]
++-z0 current ; Default Daylight time setting [0 standard, 1 daylight]
++-z current ; Default time zone [hours before GMT ]
+ -zl 122W20 47N36 ; Default longitude and latitude
+
+ -Yz 0 ; Time minute addition to be used when "now" charts are off.
+@@ -14,9 +14,9 @@
+ _k ; Ansi color text ["=k" is color, "_k" is normal ]
+ :d 12 ; Searching divisions [Change "12" to desired divisions ]
+ _b0 ; Print zodiac seconds ["_b0" to minute, "=b0" to second ]
+-_b ; Use ephemeris files ["=b" uses them, "_b" doesn't ]
++=b ; Use ephemeris files ["=b" uses them, "_b" doesn't ]
+ =C ; Show house cusp objects ["_C" hides them, "=C" shows them ]
+-:w 4 ; Wheel chart text rows [Change "4" to desired wheel rows ]
++:w 6 ; Wheel chart text rows [Change "4" to desired wheel rows ]
+ :I 80 ; Text screen columns [Change "80" to desired columns ]
+ -YQ 0 ; Text screen scroll limit [Change "24" or set to "0" for none]
+ _Yd ; European date format ["_Yd" is MDY, "=Yd" is DMY ]
diff --git a/misc/astrolog/pkg-plist b/misc/astrolog/pkg-plist
index e8a9c3fe0d08..206f1272a3a4 100644
--- a/misc/astrolog/pkg-plist
+++ b/misc/astrolog/pkg-plist
@@ -95,8 +95,9 @@ lib/astrolog/LRZ5_8
lib/astrolog/LRZ5_9
lib/astrolog/LRZ5_M1
lib/astrolog/LRZ5_M2
-lib/astrolog/astrolog.dat
+@unexec if [ -f %D/lib/astrolog/astrolog.dat ] && cmp -s %D/lib/astrolog/astrolog.dat %D/lib/astrolog/astrolog.dat-dist; then rm -f %D/lib/astrolog/astrolog.dat; fi
lib/astrolog/astrolog.dat-dist
+@exec if [ ! -f %D/lib/astrolog/astrolog.dat ] ; then cp -p %D/%F %B/astrolog.dat; fi
share/doc/astrolog/Helpfile.540
share/doc/astrolog/README.540
share/doc/astrolog/Update.540