aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-03-17 20:02:01 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-03-17 20:02:01 +0000
commitc5b4a3e30f8db781b8b71fb7faa23d1202ed222d (patch)
tree11be7abc6365f801e2ccb9ccdad6d12809ce7497 /science
parentffb94323b8a00b7d61198a83b51a47183dba34b8 (diff)
downloadports-c5b4a3e30f8db781b8b71fb7faa23d1202ed222d.tar.gz
ports-c5b4a3e30f8db781b8b71fb7faa23d1202ed222d.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/szip/Makefile13
-rw-r--r--science/szip/distinfo2
-rw-r--r--science/szip/pkg-plist2
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%%