diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-04-29 21:28:25 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-04-29 21:28:25 +0800 |
commit | ddfcab1f1d6b22095a7acefce48602771081e583 (patch) | |
tree | 291a7cefc0e5120f29ca4190f7b9a8014c14216c /science/szip | |
parent | 8a908635999f927ca43465e7e591559e12a37f59 (diff) | |
download | freebsd-ports-gnome-ddfcab1f1d6b22095a7acefce48602771081e583.tar.gz freebsd-ports-gnome-ddfcab1f1d6b22095a7acefce48602771081e583.tar.zst freebsd-ports-gnome-ddfcab1f1d6b22095a7acefce48602771081e583.zip |
- 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
Diffstat (limited to 'science/szip')
-rw-r--r-- | science/szip/Makefile | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/science/szip/Makefile b/science/szip/Makefile index 5a7bda976c12..41af776119bf 100644 --- a/science/szip/Makefile +++ b/science/szip/Makefile @@ -3,31 +3,41 @@ PORTNAME= szip PORTVERSION= 2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science archivers -MASTER_SITES= ftp://ftp.hdfgroup.org/lib-external/szip/2.1/src/:src \ - http://www.hdfgroup.org/doc_resource/SZIP/:doc +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= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lossless compression library for scientific data -USE_AUTOTOOLS= libtool +OPTIONS_DEFINE= DOCS + 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 +USE_LDCONFIG= yes +USES= libtool -OPTIONS_DEFINE= DOCS +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} + ${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> |