blob: 2f9d9b9cb65d28d106c50e2ecee29d9b56a2ebb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
PORTNAME= gnuastro
PORTVERSION= 0.20
CATEGORIES= astro
MASTER_SITES= GNU
MAINTAINER= danfe@FreeBSD.org
COMMENT= GNU astronomy utilities and library
WWW= https://www.gnu.org/software/gnuastro/
LICENSE= GPLv3+
LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
libwcs.so:astro/wcslib \
libcurl.so:ftp/curl \
libgsl.so:math/gsl \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= gmake jpeg libtool:build localbase tar:lz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
TEST_WRKSRC= ${WRKSRC}/tests
INFO= ${PORTNAME}
PORTDOCS= AUTHORS ChangeLog NEWS README THANKS
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,cflags_add="-O3",:,' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,gcc,$(CC),' \
${WRKSRC}/bin/buildprog/ui.c
post-install:
@${FIND} ${STAGEDIR}${PREFIX}/etc -name \*.conf \
-exec ${MV} '{}' '{}.sample' \;
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|