Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2014 13:28:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352618 - head/science/szip
Message-ID:  <201404291328.s3TDSPNM048386@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Apr 29 13:28:25 2014
New Revision: 352618
URL: http://svnweb.freebsd.org/changeset/ports/352618
QAT: https://qat.redports.org/buildarchive/r352618/

Log:
  - 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

Modified:
  head/science/szip/Makefile

Modified: head/science/szip/Makefile
==============================================================================
--- head/science/szip/Makefile	Tue Apr 29 13:28:19 2014	(r352617)
+++ head/science/szip/Makefile	Tue Apr 29 13:28:25 2014	(r352618)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404291328.s3TDSPNM048386>