aboutsummaryrefslogtreecommitdiffstats
path: root/science/szip/Makefile
blob: 5a7bda976c12e0405a2dbda905565b810136c10a (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
# Created by: glewis
# $FreeBSD$

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

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

USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
LDFLAGS+=   -lm
CONFIGURE_ARGS+=    LDFLAGS="${LDFLAGS}"
PLIST_FILES=    include/ricehdf.h include/szip_adpt.h include/szlib.h \
        lib/libsz.a lib/libsz.la lib/libsz.so lib/libsz.so.2
PORTDOCS=   Release_notes_2_0.pdf

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>