aboutsummaryrefslogtreecommitdiffstats
path: root/science/szip/Makefile
blob: 79971d7ee0b74b7d7b403f2d96c9f0e94da04281 (plain) (blame)
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
# Created by: glewis
# $FreeBSD$

PORTNAME=   szip
PORTVERSION=    2.1
PORTREVISION=   2
CATEGORIES= science archivers
MASTER_SITES=   http://www.hdfgroup.org/ftp/lib-external/${PORTNAME}/${PORTVERSION}/src/:src \
        http://www.hdfgroup.org/doc_resource/SZIP/:doc \
        LOCAL/sunpoet:src,doc
PKGNAMEPREFIX=  hdf-
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:src \
        ${PORTDOCS}:doc
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Lossless compression library for scientific data

OPTIONS_DEFINE= DOCS

GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
LIBS+=      -lm
TEST_TARGET=    check
USE_LDCONFIG=   yes
USES=       libtool

PORTDOCS=   Release_notes_2_0.pdf

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/
    ${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>