pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
I would like to add new package "wcstools" to pkgsrc-wip.
Module Name: pkgsrc-wip
Committed By: Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost>
Pushed By: daisuke
Date: Mon Dec 14 15:18:06 2020 +0800
Changeset: 00028d379d8e2798d4f49c8b186b7a94e91d9a52
Modified Files:
Makefile
Added Files:
wcstools/DESCR
wcstools/Makefile
wcstools/PLIST
wcstools/distinfo
wcstools/patches/patch-Makefile
Log Message:
I would like to add new package "wcstools" to pkgsrc-wip.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=00028d379d8e2798d4f49c8b186b7a94e91d9a52
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
wcstools/DESCR | 2 ++
wcstools/Makefile | 12 ++++++++
wcstools/PLIST | 63 +++++++++++++++++++++++++++++++++++++++++
wcstools/distinfo | 7 +++++
wcstools/patches/patch-Makefile | 36 +++++++++++++++++++++++
6 files changed, 121 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index ae7ed495f3..29947e0b98 100644
--- a/Makefile
+++ b/Makefile
@@ -5241,6 +5241,7 @@ SUBDIR+= wargus
SUBDIR+= warsow
SUBDIR+= watch
SUBDIR+= wbox
+SUBDIR+= wcstools
SUBDIR+= weatherman
SUBDIR+= webbrowser
SUBDIR+= webcleaner
diff --git a/wcstools/DESCR b/wcstools/DESCR
new file mode 100644
index 0000000000..30e41add36
--- /dev/null
+++ b/wcstools/DESCR
@@ -0,0 +1,2 @@
+TODO: Fill in a short description of the package.
+TODO: It should be between 3 and 20 lines.
diff --git a/wcstools/Makefile b/wcstools/Makefile
new file mode 100644
index 0000000000..4767859e0f
--- /dev/null
+++ b/wcstools/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+DISTNAME= wcstools-3.9.6
+CATEGORIES= math
+MASTER_SITES= http://tdc-www.harvard.edu/software/wcstools/
+
+MAINTAINER= kinoshita%astro.ncu.edu.tw@localhost
+HOMEPAGE= http://tdc-www.harvard.edu/software/wcstools/
+COMMENT= Tools to manage WCS-related keywords of FITS files for astronomy
+LICENSE= gnu-lgpl-v2.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/wcstools/PLIST b/wcstools/PLIST
new file mode 100644
index 0000000000..3bd2152fde
--- /dev/null
+++ b/wcstools/PLIST
@@ -0,0 +1,63 @@
+@comment $NetBSD$
+bin/addpix
+bin/bincat
+bin/char2sp
+bin/conpix
+bin/cphead
+bin/crlf
+bin/delhead
+bin/delwcs
+bin/edhead
+bin/filename
+bin/fileroot
+bin/filext
+bin/fixpix
+bin/getcol
+bin/getdate
+bin/getfits
+bin/gethead
+bin/getpix
+bin/gettab
+bin/htmlsp
+bin/i2f
+bin/imcat
+bin/imextract
+bin/imfill
+bin/imhead
+bin/immatch
+bin/imresize
+bin/imrot
+bin/imsize
+bin/imsmooth
+bin/imstack
+bin/imstar
+bin/imwcs
+bin/isfile
+bin/isfits
+bin/isnum
+bin/isrange
+bin/keyhead
+bin/newfits
+bin/remap
+bin/scat
+bin/sethead
+bin/setpix
+bin/simpos
+bin/sky2xy
+bin/skycoor
+bin/sp2char
+bin/subpix
+bin/sumpix
+bin/wcshead
+bin/xy2sky
+include/libwcs/fitsfile.h
+include/libwcs/fitsfile1.h
+include/libwcs/fitshead.h
+include/libwcs/fitswcs.h
+include/libwcs/imio.h
+include/libwcs/lwcs.h
+include/libwcs/wcs.h
+include/libwcs/wcscat.h
+include/libwcs/wcscat1.h
+include/libwcs/wcslib.h
+lib/libwcs.a
diff --git a/wcstools/distinfo b/wcstools/distinfo
new file mode 100644
index 0000000000..4abb442744
--- /dev/null
+++ b/wcstools/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (wcstools-3.9.6.tar.gz) = 4cf2ff53ad45126362bebbf1cb2c7c4cfb6302d7
+RMD160 (wcstools-3.9.6.tar.gz) = 253383241c86e2eb4b948866c25e32e3a0be0cc8
+SHA512 (wcstools-3.9.6.tar.gz) = b971c9c65ba09b8904b09bd14d8e0fbc220dabc7eea9a94fbb39e5710e6e340e712b64954e51f7f11a1406a8600afa65670deef9662e071ad42e0a92c0929341
+Size (wcstools-3.9.6.tar.gz) = 8614498 bytes
+SHA1 (patch-Makefile) = 552ad5bf456281af7eee32cd902513e18d59d449
diff --git a/wcstools/patches/patch-Makefile b/wcstools/patches/patch-Makefile
new file mode 100644
index 0000000000..a1d6117721
--- /dev/null
+++ b/wcstools/patches/patch-Makefile
@@ -0,0 +1,36 @@
+$NetBSD$
+
+--- Makefile.orig 2020-07-23 19:42:02.000000000 +0000
++++ Makefile
+@@ -8,6 +8,19 @@ BIN = bin
+ .c.o:
+ $(CC) -c $(CFLAGS) $(DEFS) $<
+
++DEST = ../.destdir/usr/pkg
++
++HEADERS = libwcs/fitsfile.h libwcs/fitswcs.h libwcs/wcs.h libwcs/wcslib.h \
++ libwcs/fitsfile1.h libwcs/imio.h libwcs/wcscat.h \
++ libwcs/fitshead.h libwcs/lwcs.h libwcs/wcscat1.h
++
++PROGRAMS = cphead delwcs delhead edhead fixpix gethead i2f imcat imhead immatch \
++ imrot imsize imstar imwcs scat sethead addpix getpix setpix sky2xy \
++ keyhead skycoor subpix xy2sky wcshead conpix gettab newfits getfits \
++ imstack imextract sumpix remap getcol getdate imfill imsmooth imresize \
++ fileroot filename filext char2sp sp2char crlf htmlsp isnum isrange isfits \
++ isfile simpos bincat
++
+ all: cphead delwcs delhead edhead fixpix gethead i2f imcat imhead immatch \
+ imrot imsize imstar imwcs scat sethead addpix getpix setpix sky2xy \
+ keyhead skycoor subpix xy2sky wcshead conpix gettab newfits getfits \
+@@ -206,3 +219,11 @@ binclean:
+
+ clean:
+ make objclean; make binclean
++
++install:
++ mkdir $(DEST)/lib
++ install $(LIBWCS) $(DEST)/lib
++ mkdir $(DEST)/include/libwcs
++ install $(HEADERS) $(DEST)/include/libwcs
++ mkdir $(DEST)/bin
++ cd bin; install $(PROGRAMS) ../$(DEST)/bin
Home |
Main Index |
Thread Index |
Old Index