1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/science/szip/Makefile
Sunpoet Po-Chuan Hsieh 4c1eabb585 - Add my LOCAL to MASTER_SITES
- Add OPTIONS_DEFINE
- Remove unnecessary CONFIGURE_ARGS
- Use USES=libtool
- Strip shared library
- Add regression-test:
- Bump PORTREVISION for package change
- Take maintainership
2014-04-29 13:28:25 +00:00

44 lines
1.0 KiB
Makefile

# 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
LDFLAGS+= -lm
USE_LDCONFIG= yes
USES= libtool
PLIST_FILES= include/ricehdf.h \
include/szip_adpt.h \
include/szlib.h \
lib/libsz.a \
lib/libsz.so \
lib/libsz.so.2 \
lib/libsz.so.2.0.0
PORTDOCS= Release_notes_2_0.pdf
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsz.so.2.0.0
regression-test test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
.include <bsd.port.mk>