From a3ed9a84a3350e0e46b40a7c9fc030419e9a1773 Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Sun, 28 Jan 2024 12:41:57 +0100 Subject: [PATCH] astro/astrometry: Move man to share/man While here, also - update LIB_DEPENDS=graphics/png - add augment-xylist to strip list - correct pkg-message paths - update pkg-plist --- astro/astrometry/Makefile | 7 +-- astro/astrometry/files/pkg-message.in | 11 ++--- astro/astrometry/pkg-plist | 62 +++++++++++++-------------- 3 files changed, 41 insertions(+), 39 deletions(-) diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile index fb5919ed36df8..26a3d7a073415 100644 --- a/astro/astrometry/Makefile +++ b/astro/astrometry/Makefile @@ -1,5 +1,6 @@ PORTNAME= astrometry PORTVERSION= 0.94 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= https://github.com/dstndstn/${PORTNAME}.net/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}.net-${PORTVERSION} @@ -17,8 +18,8 @@ BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libcairo.so:graphics/cairo \ libcfitsio.so:astro/cfitsio \ libgsl.so:math/gsl \ - libpng.so:graphics/png \ libnetpbm.so:graphics/netpbm \ + libpng16.so:graphics/png \ libwcs.so:astro/wcslib RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>0:astro/py-astropy@${PY_FLAVOR} \ ${PYNUMPY} @@ -35,7 +36,7 @@ MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX} \ DATA_INSTALL_DIR=${STAGEDIR}${DATADIR} \ DOC_INSTALL_DIR=${STAGEDIR}${DOCSDIR} \ EXAMPLE_INSTALL_DIR=${STAGEDIR}${EXAMPLESDIR} \ - MAN1_INSTALL_DIR=${STAGEDIR}${PREFIX}/man/man1 \ + MAN1_INSTALL_DIR=${STAGEDIR}${PREFIX}/share/man/man1 \ PY_BASE_INSTALL_DIR=${STAGEDIR}${PYTHON_LIBDIR}/astrometry \ PYTHON=${PYTHON_CMD} PYTHON_SCRIPT=${PYTHON_CMD} MAKE_JOBS_UNSAFE= yes @@ -49,7 +50,7 @@ SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= EXAMPLES -FILES= an-fitstopnm an-pnmtofits astrometry-engine \ +FILES= an-fitstopnm an-pnmtofits astrometry-engine augment-xylist \ build-astrometry-index downsample-fits fit-wcs \ fits-column-merge fits-flip-endian fits-guess-scale \ fitscopy fitsgetext fitsverify get-healpix get-wcs \ diff --git a/astro/astrometry/files/pkg-message.in b/astro/astrometry/files/pkg-message.in index 37484df4e1766..fc9881d595b68 100644 --- a/astro/astrometry/files/pkg-message.in +++ b/astro/astrometry/files/pkg-message.in @@ -3,14 +3,15 @@ message: <