aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2017-03-22 12:35:03 +0800
committerdanilo <danilo@FreeBSD.org>2017-03-22 12:35:03 +0800
commitc64689a9b8ee758e826ac61de153afb76e80b956 (patch)
treec0429de657a856e23d9d09f5f125dc02ce0d8f7c /astro
parent5527cce465140a08c61a38c4d7311976b257c1ae (diff)
downloadfreebsd-ports-graphics-c64689a9b8ee758e826ac61de153afb76e80b956.tar.gz
freebsd-ports-graphics-c64689a9b8ee758e826ac61de153afb76e80b956.tar.zst
freebsd-ports-graphics-c64689a9b8ee758e826ac61de153afb76e80b956.zip
- Fix plist when PGPLOT and CFITSIO options are enabled
Reported by: db
Diffstat (limited to 'astro')
-rw-r--r--astro/wcslib/Makefile4
-rw-r--r--astro/wcslib/pkg-plist6
2 files changed, 3 insertions, 7 deletions
diff --git a/astro/wcslib/Makefile b/astro/wcslib/Makefile
index 8b3abc79310..b91214959b8 100644
--- a/astro/wcslib/Makefile
+++ b/astro/wcslib/Makefile
@@ -30,7 +30,9 @@ PGPLOT_DESC= Add pgplot support (for tests only)
CFITSIO_CONFIGURE_WITH= cfitsio
CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio
PGPLOT_CONFIGURE_WITH= pgplot
-PGPLOT_LIB_DEPENDS= libpgplot.so:graphics/pgplot
+PGPLOT_LIB_DEPENDS= libpgplot.so:graphics/pgplot \
+ libpng16.so:graphics/png
+PGPLOT_USE= XORG=x11
post-patch:
@${REINPLACE_CMD} -e 's#%%PKGDIR%%#${STAGEDIR}${PREFIX}/libdata#g' \
diff --git a/astro/wcslib/pkg-plist b/astro/wcslib/pkg-plist
index f73403c1008..83f36f16530 100644
--- a/astro/wcslib/pkg-plist
+++ b/astro/wcslib/pkg-plist
@@ -1,7 +1,4 @@
-%%CFITSIO%%bin/HPXcvt
bin/fitshdr
-%%PGPLOT%%bin/wcsgrid
-%%CFITSIO%%bin/wcsware
include/wcslib
include/wcslib-%%VERSION%%/cel.h
include/wcslib-%%VERSION%%/cel.inc
@@ -56,10 +53,7 @@ lib/libwcs.so
lib/libwcs.so.5
lib/libwcs.so.5.16
libdata/pkgconfig/wcslib.pc
-%%CFITSIO%%man/man1/HPXcvt.1.gz
man/man1/fitshdr.1.gz
-%%PGPLOT%%man/man1/wcsgrid.1.gz
-%%CFITSIO%%man/man1/wcsware.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/COPYING.LESSER