1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Upgrade to 5.30

This commit is contained in:
Andrey A. Chernov 1997-01-13 22:57:00 +00:00
parent 1dc43e3194
commit 079bbce31a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5343
7 changed files with 98 additions and 96 deletions

View File

@ -1,72 +1,62 @@
# New ports collection makefile for: astrolog
#
# http://www-rpk.mach.uni-karlsruhe.de/~ferber/astrolog/
# http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
# http://www.magitech.com/~cruiser1/astrolog.htm
#
# Version required: 5.20
# Version required: 5.30
# Date created: 31 July 1995
# Whom: faulkner@cactus.org
#
# $Id: Makefile,v 1.5 1996/11/11 05:49:12 obrien Exp $
# $Id: Makefile,v 1.6 1996/12/03 04:07:24 asami Exp $
#
DISTNAME= astrolog-5.20
CATEGORIES= misc x11
MASTER_SITES= http://www-rpk.mach.uni-karlsruhe.de/~ferber/astrolog/ \
ftp://ftp.relcom.ru/unix/magick/astrology/astrolog/
DISTFILES= ${EXTRACT_ONLY} ${EPHEM:S/$/.gz/}
PKGNAME= astrolog-5.30
DISTNAME= ast53src
EXTRACT_SUFX= .zip
CATEGORIES= misc
MASTER_SITES= http://rpkalf2.mach.uni-karlsruhe.de/~ferber/astrolog/
DISTFILES= ${EXTRACT_ONLY} ast53dos.zip
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ache@FreeBSD.ORG
DIST_SUBDIR= astrolog
WRKSRC= ${WRKDIR}/${DISTNAME}/src
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
EPHEM= lrz5_24 chi_24 cpjv_24
EXTRACT_CMD= unzip
EXTRACT_ARGS= -oqLaa
DIST_SUBDIR= astrolog
MAKEFILE= makefile.unx
ALL_TARGET= astrolog
NO_WRKSUBDIR= Yes
EPHEM= LRZ5_24 CHI_24 CPJV_24
MISC= helpfile.530 update.530
post-extract:
cd ${WRKSRC}/..; \
for i in ${EPHEM}; do \
zcat ${DISTDIR}/${DIST_SUBDIR}/$$i.gz > \
`echo $$i | tr '[:lower:]' '[:upper:]'`; \
done
post-patch:
cd ${WRKSRC}/../docs; \
sed 's/^@tpindex/@tindex/' < astrolog.texinfo > a.texinfo; \
mv a.texinfo astrolog.texinfo
post-build:
cd ${WRKSRC}/../docs; \
makeinfo --no-split astrolog.texinfo -o astrolog.info; \
gzip -f astrolog.info
cd ${WRKSRC} && \
unzip -oq ${DISTDIR}/${DIST_SUBDIR}/ast53dos.zip ${EPHEM}
cd ${WRKSRC} && \
unzip -oqLaa ${DISTDIR}/${DIST_SUBDIR}/ast53dos.zip ${MISC}
do-install:
-@mkdir ${PREFIX}/lib/astrolog
cd ${WRKSRC}/..; \
${INSTALL} -c -m ${SHAREMODE} -o ${SHAREOWN} -g ${SHAREGRP} \
LRZ5_* CHI_* CPJV_* ${PREFIX}/lib/astrolog
cd ${WRKSRC}/..; \
-@${MKDIR} ${PREFIX}/lib/astrolog
cd ${WRKSRC} && ${INSTALL_DATA} ${EPHEM} ${PREFIX}/lib/astrolog
cd ${WRKSRC} && \
if [ -f ${PREFIX}/lib/astrolog/astrolog.dat ] ; then \
${INSTALL} -c -m ${SHAREMODE} -o ${SHAREOWN} -g ${SHAREGRP} \
astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog/astrolog.dat-dist; \
else \
${INSTALL} -c -m 644 -o ${SHAREOWN} -g ${SHAREGRP} \
astrolog.dat ${PREFIX}/lib/astrolog; \
${INSTALL_DATA} astrolog.dat ${PREFIX}/lib/astrolog; \
fi
cd ${WRKSRC}; \
${INSTALL} -c -s -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} \
astrolog ${PREFIX}/bin
cd ${WRKSRC}/../docs; \
$(INSTALL) -c -m ${INFOMODE} -o $(INFOOWN) -g $(INFOGRP) \
astrolog.info.gz ${PREFIX}/info
-@mkdir ${PREFIX}/share/astrolog
cd ${WRKSRC}/..; \
${INSTALL} -c -m ${SHAREMODE} -o ${SHAREOWN} -g ${SHAREGRP} \
helpfile.520 readme.520 ${PREFIX}/share/astrolog
cd ${WRKSRC} && ${INSTALL_PROGRAM} astrolog ${PREFIX}/bin
-@${MKDIR} ${PREFIX}/share/doc/astrolog
cd ${WRKSRC} && \
${INSTALL_DATA} helpfile.530 ${PREFIX}/share/doc/astrolog/Helpfile.530
cd ${WRKSRC} && \
${INSTALL_DATA} update.530 ${PREFIX}/share/doc/astrolog/Update.530
cd ${WRKSRC} && \
${INSTALL_DATA} readme.530 ${PREFIX}/share/doc/astrolog/Readme.530
@echo
@echo "See the file ${PREFIX}/share/astrolog/helpfile.520 for help"
@echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat,"
@echo "also look at ${PREFIX}/info/astrolog.info.gz"
@echo "See the file ${PREFIX}/share/doc/astrolog/Helpfile.530 for help"
@echo "and tune ${PREFIX}/lib/astrolog/astrolog.dat"
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
MD5 (astrolog/astrolog-5.20.tar.gz) = 61bb72e84dc2c437cfe1243d4003771d
MD5 (astrolog/lrz5_24.gz) = cfd2f6b7a17d8c91783cd16bb266bba7
MD5 (astrolog/chi_24.gz) = 211022676a2e9a6306452d7300b72762
MD5 (astrolog/cpjv_24.gz) = 173a499dc086c033a2cad4251d094b34
MD5 (astrolog/ast53src.zip) = e1977a0602145c9add31ba2c8af16c17
MD5 (astrolog/ast53dos.zip) = c126ada589b36b700d32cfcb5664aae9

View File

@ -1,22 +1,21 @@
*** makefile.unx.orig Thu Jun 20 22:40:37 1996
--- makefile.unx Sun Jul 14 06:51:53 1996
*** makefile.unx.bak Sun Sep 29 23:27:00 1996
--- makefile.unx Tue Jan 14 01:06:55 1997
***************
*** 30,38 ****
*** 23,30 ****
charts0.o charts1.o charts2.o charts3.o intrpret.o\
xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
# If you don't have X windows, delete the "-lX11" part from the line below:
! LIBS = -lm -lX11
! CFLAGS = -O
! LIBS = -lm -L/usr/X11R6/lib -lX11 -lm -L. -laaf
! CFLAGS = -O3 -I. -DHAVE_LIBAAF -DHAVE_STRCHR -DHAVE_STRDUP
! CC = gcc
all: astrolog
--- 30,37 ----
astrolog:: $(OBJ)
cc -o $(NAME) $(OBJ) $(LIBS)
--- 23,30 ----
charts0.o charts1.o charts2.o charts3.o intrpret.o\
xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
# If you don't have X windows, delete the "-lX11" part from the line below:
! LIBS = -L${X11BASE}/lib -lX11 -lm
! CFLAGS += -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
all: astrolog
astrolog:: $(OBJ)
cc -o $(NAME) $(OBJ) $(LIBS)

View File

@ -1,8 +1,41 @@
*** astrolog.h.orig Thu Jun 20 22:40:36 1996
--- astrolog.h Mon Jul 15 23:29:41 1996
*** astrolog.h.bak Sun Sep 29 23:27:00 1996
--- astrolog.h Tue Jan 14 01:16:37 1997
***************
*** 127,133 ****
--- 127,135 ----
*** 47,61 ****
** the X11 graphics can be disabled even if you are running X windows.
*/
! #define PC /* Comment out this #define if you have a Unix, Mac, or other */
/* system that isn't a generic PC running DOS or MS Windows. */
/*#define MAC /* Comment out this #define if you're not compiling for a Mac. */
! /*#define X11 /* Comment out this #define if you don't have X windows, or */
/* else have them and don't wish to compile in X graphics. */
! #define WIN /* Comment out this #define if you don't have MS Windows, or */
/* else have them but want to compile a DOS version instead. */
/*#define MSG /* Comment out this #define if you don't have access to the */
--- 47,61 ----
** the X11 graphics can be disabled even if you are running X windows.
*/
! /*#define PC /* Comment out this #define if you have a Unix, Mac, or other */
/* system that isn't a generic PC running DOS or MS Windows. */
/*#define MAC /* Comment out this #define if you're not compiling for a Mac. */
! #define X11 /* Comment out this #define if you don't have X windows, or */
/* else have them and don't wish to compile in X graphics. */
! /*#define WIN /* Comment out this #define if you don't have MS Windows, or */
/* else have them but want to compile a DOS version instead. */
/*#define MSG /* Comment out this #define if you don't have access to the */
***************
*** 131,137 ****
--- 131,139 ----
*/
#ifndef PC
@ -12,20 +45,3 @@
#else
#define DEFAULT_DIR "C:\\ASTROLOG"
#endif
***************
*** 251,257 ****
#define chJW (char)('|')
#define chJE (char)('|')
#define chDeg0 (char)(' ')
! #define chDeg1 (char)(us.fAnsi ? 176 : ':') /* degree symbol */
/*
** One shouldn't ever need to change anything below this line to compile.
--- 253,259 ----
#define chJW (char)('|')
#define chJE (char)('|')
#define chDeg0 (char)(' ')
! #define chDeg1 (char)(':') /* degree symbol */
/*
** One shouldn't ever need to change anything below this line to compile.

View File

@ -1,7 +1,7 @@
Astrolog 5.20 is a many featured and
* Astrolog 5.30 is a many featured and
customizable astrology chart calculation
program for DOS, Windows, Mac, and Unix,
used in 25+ countries on six continents.
used in 30+ countries on six continents.
It is 100% freeware and requires no
registration fee. :) The complete source
code is available. Astrolog features:

View File

@ -3,6 +3,5 @@
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
echo "See the file ${PKG_PREFIX}/share/astrolog/helpfile.520 for help"
echo "and tune ${PKG_PREFIX}/lib/astrolog/astrolog.dat,"
echo "also look at ${PKG_PREFIX}/info/astrolog.info.gz"
echo "See the file ${PKG_PREFIX}/share/doc/astrolog/Helpfile.530 for help"
echo "and tune ${PKG_PREFIX}/lib/astrolog/astrolog.dat"

View File

@ -1,7 +1,7 @@
bin/astrolog
share/astrolog/helpfile.520
share/astrolog/readme.520
info/astrolog.info.gz
share/doc/astrolog/Helpfile.530
share/doc/astrolog/Readme.530
share/doc/astrolog/Update.530
lib/astrolog/astrolog.dat
lib/astrolog/LRZ5_24
lib/astrolog/CHI_24