diff options
author | ache <ache@FreeBSD.org> | 2010-03-23 21:20:05 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2010-03-23 21:20:05 +0800 |
commit | de7891b02489f8d4c178c552148f080e627df4a3 (patch) | |
tree | e1ba6695d43925b90427e48e9cff01b552a7b1ec /misc | |
parent | ccb46ad3507d6fb24fb1529de826e0c27a2f4db3 (diff) | |
download | freebsd-ports-gnome-de7891b02489f8d4c178c552148f080e627df4a3.tar.gz freebsd-ports-gnome-de7891b02489f8d4c178c552148f080e627df4a3.tar.zst freebsd-ports-gnome-de7891b02489f8d4c178c552148f080e627df4a3.zip |
1) Do not remove config file on package upgrading
2) Supply more useful config file
Diffstat (limited to 'misc')
-rw-r--r-- | misc/astrolog/Makefile | 2 | ||||
-rw-r--r-- | misc/astrolog/files/patch-astrolog.dat | 24 | ||||
-rw-r--r-- | misc/astrolog/pkg-plist | 3 |
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 |