move kstars from misc category.

--
Pointed out by Jacob Meuser <jakemsr@clipper.net>
This commit is contained in:
kevlo 2001-09-12 11:43:28 +00:00
parent 6337632075
commit 57f83acfc6
8 changed files with 371 additions and 0 deletions

38
astro/kstars/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/12 11:43:28 kevlo Exp $
COMMENT= "desktop planetarium"
DISTNAME= kstars-0.6
CATEGORIES= astro
NEED_VERSION= 1.454
HOMEPAGE= http://kstars.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kstars
BUILD_DEPENDS= uic::x11/qt2-designer
LIB_DEPENDS= kdecore.3.::x11/kde/libs2
MODULES= qt2
MAKE_ENV= ${CONFIGURE_ENV}
# Ensure qt2 will always be at the front
MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ENV= KDEDIR=${LOCALBASE}
.include <bsd.port.mk>

3
astro/kstars/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (kstars-0.6.tar.gz) = 416b232ab5ed059fdd38ba14422f20fb
RMD160 (kstars-0.6.tar.gz) = 9e70d587b79b57fcfce7668f376f1551afafdc73
SHA1 (kstars-0.6.tar.gz) = a8e0df1a084e6d93d2b1922750550c4f3ede9a8d

View File

@ -0,0 +1,47 @@
--- aclocal.m4.orig Wed Sep 12 16:37:44 2001
+++ aclocal.m4 Wed Sep 12 16:39:44 2001
@@ -1,6 +1,6 @@
-dnl aclocal.m4 generated automatically by aclocal 1.4
+dnl aclocal.m4 generated automatically by aclocal 1.4-p5
-dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -4752,7 +4752,7 @@
dnl Usage:
dnl AM_INIT_AUTOMAKE(package,version, [no-define])
-AC_DEFUN(AM_INIT_AUTOMAKE,
+AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_REQUIRE([AC_PROG_INSTALL])
PACKAGE=[$1]
AC_SUBST(PACKAGE)
@@ -4780,7 +4780,7 @@
# Check to make sure that the build environment is sane.
#
-AC_DEFUN(AM_SANITY_CHECK,
+AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Just in case
sleep 1
@@ -4821,7 +4821,7 @@
dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
dnl The program must properly implement --version.
-AC_DEFUN(AM_MISSING_PROG,
+AC_DEFUN([AM_MISSING_PROG],
[AC_MSG_CHECKING(for working $2)
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
@@ -4837,7 +4837,7 @@
# Like AC_CONFIG_HEADER, but automatically create stamp file.
-AC_DEFUN(AM_CONFIG_HEADER,
+AC_DEFUN([AM_CONFIG_HEADER],
[AC_PREREQ([2.12])
AC_CONFIG_HEADER([$1])
dnl When config.status generates a header, we must update the stamp-h file.

View File

@ -0,0 +1,19 @@
--- admin/ltcf-c.sh.orig Wed Sep 12 16:40:10 2001
+++ admin/ltcf-c.sh Wed Sep 12 16:42:17 2001
@@ -398,10 +398,14 @@
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
;;
os2*)

View File

@ -0,0 +1,22 @@
--- admin/ltcf-cxx.sh.orig Wed Sep 12 16:40:15 2001
+++ admin/ltcf-cxx.sh Wed Sep 12 16:45:24 2001
@@ -339,6 +339,19 @@
ld_shlibs=no
fi
;;
+ openbsd*)
+ if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
+ # MM: OpenBSD 2.7 uses G++, but not GNU ld
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+ fi
+ ;;
osf3*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'

View File

@ -0,0 +1,34 @@
--- kstars/data/Makefile.in.orig Wed Sep 12 16:28:39 2001
+++ kstars/data/Makefile.in Wed Sep 12 16:30:49 2001
@@ -367,7 +367,7 @@
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/
#>- $(INSTALL_DATA) $(srcdir)/hi32-app-kstars.png $(kde_icondir)/hicolor/32x32/apps/kstars.png
#>+ 1
- $(INSTALL_DATA) $(srcdir)/hi32-app-kstars.png $(kde_icondir)/hicolor/32x32/apps/kstars.png $(DESTDIR)
+ $(INSTALL_DATA) $(srcdir)/hi32-app-kstars.png $(DESTDIR)$(kde_icondir)/hicolor/32x32/apps/kstars.png
#>- $(mkinstalldirs) $(kde_icondir)/hicolor/48x48/apps/
#>+ 1
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/hicolor/48x48/apps/
@@ -379,19 +379,19 @@
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/
#>- $(INSTALL_DATA) $(srcdir)/lo16-app-kstars.png $(kde_icondir)/locolor/16x16/apps/kstars.png
#>+ 1
- $(INSTALL_DATA) $(srcdir)/lo16-app-kstars.png $(kde_icondir)/locolor/16x16/apps/kstars.png $(DESTDIR)
+ $(INSTALL_DATA) $(srcdir)/lo16-app-kstars.png $(DESTDIR)$(kde_icondir)/locolor/16x16/apps/kstars.png
#>- $(mkinstalldirs) $(kde_icondir)/locolor/32x32/apps/
#>+ 1
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/
#>- $(INSTALL_DATA) $(srcdir)/lo32-app-kstars.png $(kde_icondir)/locolor/32x32/apps/kstars.png
#>+ 1
- $(INSTALL_DATA) $(srcdir)/lo32-app-kstars.png $(kde_icondir)/locolor/32x32/apps/kstars.png $(DESTDIR)
+ $(INSTALL_DATA) $(srcdir)/lo32-app-kstars.png $(DESTDIR)$(kde_icondir)/locolor/32x32/apps/kstars.png
#>- $(mkinstalldirs) $(kde_icondir)/locolor/48x48/apps/
#>+ 1
$(mkinstalldirs) $(DESTDIR)$(kde_icondir)/locolor/48x48/apps/
#>- $(INSTALL_DATA) $(srcdir)/lo48-app-kstars.png $(kde_icondir)/locolor/48x48/apps/kstars.png
#>+ 1
- $(INSTALL_DATA) $(srcdir)/lo48-app-kstars.png $(kde_icondir)/locolor/48x48/apps/kstars.png $(DESTDIR)
+ $(INSTALL_DATA) $(srcdir)/lo48-app-kstars.png $(DESTDIR)$(kde_icondir)/locolor/48x48/apps/kstars.png
#>- $(mkinstalldirs) $(kde_datadir)/kstars/
#>+ 1
$(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kstars/

5
astro/kstars/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
KStars displays an accurate representation of the night sky for any time
and date, from any location on Earth. The display can be panned in altitude
and azimuth, and can be zoomed in and out.
WWW: ${HOMEPAGE}

203
astro/kstars/pkg/PLIST Normal file
View File

@ -0,0 +1,203 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/12 11:43:28 kevlo Exp $
bin/kstars
share/applnk/Applications/kstars.desktop
share/apps/kstars/Cities.dat
share/apps/kstars/clines.dat
share/apps/kstars/cnames.dat
share/apps/kstars/earth.B0.vsop
share/apps/kstars/earth.B1.vsop
share/apps/kstars/earth.B2.vsop
share/apps/kstars/earth.B3.vsop
share/apps/kstars/earth.B4.vsop
share/apps/kstars/earth.L0.vsop
share/apps/kstars/earth.L1.vsop
share/apps/kstars/earth.L2.vsop
share/apps/kstars/earth.L3.vsop
share/apps/kstars/earth.L4.vsop
share/apps/kstars/earth.L5.vsop
share/apps/kstars/earth.R0.vsop
share/apps/kstars/earth.R1.vsop
share/apps/kstars/earth.R2.vsop
share/apps/kstars/earth.R3.vsop
share/apps/kstars/earth.R4.vsop
share/apps/kstars/earth.R5.vsop
share/apps/kstars/earth.png
share/apps/kstars/fr_cnames.dat
share/apps/kstars/geomap.png
share/apps/kstars/hsturl.dat
share/apps/kstars/jupiter.B0.vsop
share/apps/kstars/jupiter.B1.vsop
share/apps/kstars/jupiter.B2.vsop
share/apps/kstars/jupiter.B3.vsop
share/apps/kstars/jupiter.B4.vsop
share/apps/kstars/jupiter.B5.vsop
share/apps/kstars/jupiter.L0.vsop
share/apps/kstars/jupiter.L1.vsop
share/apps/kstars/jupiter.L2.vsop
share/apps/kstars/jupiter.L3.vsop
share/apps/kstars/jupiter.L4.vsop
share/apps/kstars/jupiter.L5.vsop
share/apps/kstars/jupiter.R0.vsop
share/apps/kstars/jupiter.R1.vsop
share/apps/kstars/jupiter.R2.vsop
share/apps/kstars/jupiter.R3.vsop
share/apps/kstars/jupiter.R4.vsop
share/apps/kstars/jupiter.R5.vsop
share/apps/kstars/jupiter.png
share/apps/kstars/kstars.png
share/apps/kstars/mars.B0.vsop
share/apps/kstars/mars.B1.vsop
share/apps/kstars/mars.B2.vsop
share/apps/kstars/mars.B3.vsop
share/apps/kstars/mars.B4.vsop
share/apps/kstars/mars.B5.vsop
share/apps/kstars/mars.L0.vsop
share/apps/kstars/mars.L1.vsop
share/apps/kstars/mars.L2.vsop
share/apps/kstars/mars.L3.vsop
share/apps/kstars/mars.L4.vsop
share/apps/kstars/mars.L5.vsop
share/apps/kstars/mars.R0.vsop
share/apps/kstars/mars.R1.vsop
share/apps/kstars/mars.R2.vsop
share/apps/kstars/mars.R3.vsop
share/apps/kstars/mars.R4.vsop
share/apps/kstars/mars.R5.vsop
share/apps/kstars/mars.png
share/apps/kstars/mercury.B0.vsop
share/apps/kstars/mercury.B1.vsop
share/apps/kstars/mercury.B2.vsop
share/apps/kstars/mercury.B3.vsop
share/apps/kstars/mercury.B4.vsop
share/apps/kstars/mercury.B5.vsop
share/apps/kstars/mercury.L0.vsop
share/apps/kstars/mercury.L1.vsop
share/apps/kstars/mercury.L2.vsop
share/apps/kstars/mercury.L3.vsop
share/apps/kstars/mercury.L4.vsop
share/apps/kstars/mercury.L5.vsop
share/apps/kstars/mercury.R0.vsop
share/apps/kstars/mercury.R1.vsop
share/apps/kstars/mercury.R2.vsop
share/apps/kstars/mercury.R3.vsop
share/apps/kstars/mercury.R4.vsop
share/apps/kstars/mercury.R5.vsop
share/apps/kstars/mercury.png
share/apps/kstars/messurl.dat
share/apps/kstars/moon0.png
share/apps/kstars/moon1.png
share/apps/kstars/moon10.png
share/apps/kstars/moon11.png
share/apps/kstars/moon12.png
share/apps/kstars/moon13.png
share/apps/kstars/moon14.png
share/apps/kstars/moon15.png
share/apps/kstars/moon16.png
share/apps/kstars/moon17.png
share/apps/kstars/moon18.png
share/apps/kstars/moon19.png
share/apps/kstars/moon2.png
share/apps/kstars/moon20.png
share/apps/kstars/moon21.png
share/apps/kstars/moon22.png
share/apps/kstars/moon23.png
share/apps/kstars/moon3.png
share/apps/kstars/moon4.png
share/apps/kstars/moon5.png
share/apps/kstars/moon6.png
share/apps/kstars/moon7.png
share/apps/kstars/moon8.png
share/apps/kstars/moon9.png
share/apps/kstars/moonB.dat
share/apps/kstars/moonLR.dat
share/apps/kstars/neptune.B0.vsop
share/apps/kstars/neptune.B1.vsop
share/apps/kstars/neptune.B2.vsop
share/apps/kstars/neptune.B3.vsop
share/apps/kstars/neptune.B4.vsop
share/apps/kstars/neptune.B5.vsop
share/apps/kstars/neptune.L0.vsop
share/apps/kstars/neptune.L1.vsop
share/apps/kstars/neptune.L2.vsop
share/apps/kstars/neptune.L3.vsop
share/apps/kstars/neptune.L4.vsop
share/apps/kstars/neptune.L5.vsop
share/apps/kstars/neptune.R0.vsop
share/apps/kstars/neptune.R1.vsop
share/apps/kstars/neptune.R2.vsop
share/apps/kstars/neptune.R3.vsop
share/apps/kstars/neptune.R4.vsop
share/apps/kstars/neptune.png
share/apps/kstars/ngc2000.dat
share/apps/kstars/planeturl.dat
share/apps/kstars/pluto.png
share/apps/kstars/sao.dat
share/apps/kstars/saturn.B0.vsop
share/apps/kstars/saturn.B1.vsop
share/apps/kstars/saturn.B2.vsop
share/apps/kstars/saturn.B3.vsop
share/apps/kstars/saturn.B4.vsop
share/apps/kstars/saturn.B5.vsop
share/apps/kstars/saturn.L0.vsop
share/apps/kstars/saturn.L1.vsop
share/apps/kstars/saturn.L2.vsop
share/apps/kstars/saturn.L3.vsop
share/apps/kstars/saturn.L4.vsop
share/apps/kstars/saturn.L5.vsop
share/apps/kstars/saturn.R0.vsop
share/apps/kstars/saturn.R1.vsop
share/apps/kstars/saturn.R2.vsop
share/apps/kstars/saturn.R3.vsop
share/apps/kstars/saturn.R4.vsop
share/apps/kstars/saturn.R5.vsop
share/apps/kstars/saturn.png
share/apps/kstars/sun.png
share/apps/kstars/uranus.B0.vsop
share/apps/kstars/uranus.B1.vsop
share/apps/kstars/uranus.B2.vsop
share/apps/kstars/uranus.B3.vsop
share/apps/kstars/uranus.B4.vsop
share/apps/kstars/uranus.L0.vsop
share/apps/kstars/uranus.L1.vsop
share/apps/kstars/uranus.L2.vsop
share/apps/kstars/uranus.L3.vsop
share/apps/kstars/uranus.L4.vsop
share/apps/kstars/uranus.L5.vsop
share/apps/kstars/uranus.R0.vsop
share/apps/kstars/uranus.R1.vsop
share/apps/kstars/uranus.R2.vsop
share/apps/kstars/uranus.R3.vsop
share/apps/kstars/uranus.R4.vsop
share/apps/kstars/uranus.png
share/apps/kstars/venus.B0.vsop
share/apps/kstars/venus.B1.vsop
share/apps/kstars/venus.B2.vsop
share/apps/kstars/venus.B3.vsop
share/apps/kstars/venus.B4.vsop
share/apps/kstars/venus.B5.vsop
share/apps/kstars/venus.L0.vsop
share/apps/kstars/venus.L1.vsop
share/apps/kstars/venus.L2.vsop
share/apps/kstars/venus.L3.vsop
share/apps/kstars/venus.L4.vsop
share/apps/kstars/venus.L5.vsop
share/apps/kstars/venus.R0.vsop
share/apps/kstars/venus.R1.vsop
share/apps/kstars/venus.R2.vsop
share/apps/kstars/venus.R3.vsop
share/apps/kstars/venus.R4.vsop
share/apps/kstars/venus.R5.vsop
share/apps/kstars/venus.png
share/doc/HTML/en/kstars/common
share/doc/HTML/en/kstars/index.docbook
share/doc/HTML/en/kstars/index.docbook.bck
share/icons/hicolor/16x16/apps/kstars.png
share/icons/hicolor/32x32/apps/kstars.png
share/icons/hicolor/48x48/apps/kstars.png
share/icons/locolor/16x16/apps/kstars.png
share/icons/locolor/32x32/apps/kstars.png
share/icons/locolor/48x48/apps/kstars.png
share/locale/de/LC_MESSAGES/kstars.mo
share/locale/fr/LC_MESSAGES/kstars.mo
@dirrm share/doc/HTML/en/kstars
@dirrm share/apps/kstars