2013-06-20 15:01:27 +02:00
|
|
|
# Created by: glewis
|
2005-03-17 20:30:00 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= szip
|
2008-06-01 14:48:13 +02:00
|
|
|
PORTVERSION= 2.1
|
2008-12-24 20:49:30 +01:00
|
|
|
PORTREVISION= 1
|
2005-03-17 20:30:00 +01:00
|
|
|
CATEGORIES= science archivers
|
2008-06-01 14:48:13 +02:00
|
|
|
MASTER_SITES= ftp://ftp.hdfgroup.org/lib-external/szip/2.1/src/:src \
|
2009-01-30 23:25:07 +01:00
|
|
|
http://www.hdfgroup.org/doc_resource/SZIP/:doc
|
2005-03-17 20:30:00 +01:00
|
|
|
PKGNAMEPREFIX= hdf-
|
2005-03-17 21:02:01 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
|
2013-06-20 15:01:27 +02:00
|
|
|
${PORTDOCS}:doc
|
2005-03-17 21:02:01 +01:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2005-03-17 20:30:00 +01:00
|
|
|
|
2012-02-04 08:44:50 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-03-17 20:30:00 +01:00
|
|
|
COMMENT= Lossless compression library for scientific data
|
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-03-17 20:30:00 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2008-12-24 20:49:30 +01:00
|
|
|
LDFLAGS+= -lm
|
|
|
|
CONFIGURE_ARGS+= LDFLAGS="${LDFLAGS}"
|
2013-06-20 15:01:27 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2005-03-17 21:02:01 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-06-20 15:01:27 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-03-17 21:02:01 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2013-06-20 15:01:27 +02:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${DOCSDIR}
|
2005-03-17 21:02:01 +01:00
|
|
|
.endif
|
2005-03-17 20:30:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|