aboutsummaryrefslogtreecommitdiffstats
path: root/science/szip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/szip/Makefile')
-rw-r--r--science/szip/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/science/szip/Makefile b/science/szip/Makefile
index f8141c0dfe57..231356176975 100644
--- a/science/szip/Makefile
+++ b/science/szip/Makefile
@@ -8,13 +8,24 @@
PORTNAME= szip
PORTVERSION= 2.0
CATEGORIES= science archivers
-MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/szip/${PORTVERSION}/src/
+MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/szip/${PORTVERSION}/src/:src \
+ http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/:doc
PKGNAMEPREFIX= hdf-
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
+ ${DOCFILE}:doc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= glewis@FreeBSD.org
COMMENT= Lossless compression library for scientific data
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+DOCFILE= Release_notes_2_0.pdf
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${DISTDIR}/${DOCFILE} ${DOCSDIR}
+.endif
.include <bsd.port.mk>