diff options
-rw-r--r-- | science/szip/Makefile | 13 | ||||
-rw-r--r-- | science/szip/distinfo | 2 | ||||
-rw-r--r-- | science/szip/pkg-plist | 2 |
3 files changed, 16 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> diff --git a/science/szip/distinfo b/science/szip/distinfo index bccb3225a14f..1502c9a2a183 100644 --- a/science/szip/distinfo +++ b/science/szip/distinfo @@ -1,2 +1,4 @@ MD5 (szip-2.0.tar.gz) = 21383e286267021cbe93cbb2698bf8b9 SIZE (szip-2.0.tar.gz) = 368913 +MD5 (Release_notes_2_0.pdf) = 103f2ab9005d2f761761e6dda1839c5e +SIZE (Release_notes_2_0.pdf) = 215119 diff --git a/science/szip/pkg-plist b/science/szip/pkg-plist index b88bcb0d7142..577fe6c07f80 100644 --- a/science/szip/pkg-plist +++ b/science/szip/pkg-plist @@ -5,3 +5,5 @@ lib/libsz.a lib/libsz.la lib/libsz.so lib/libsz.so.2 +%%PORTDOCS%%%%DOCSDIR%%/Release_notes_2_0.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% |