Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 16:55:28 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337750 - head/science/hdf
Message-ID:  <201312271655.rBRGtSKT023825@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Dec 27 16:55:28 2013
New Revision: 337750
URL: http://svnweb.freebsd.org/changeset/ports/337750

Log:
  New LIB_DEPENDS syntax, USES=fortran, staging.

Modified:
  head/science/hdf/Makefile
  head/science/hdf/pkg-plist

Modified: head/science/hdf/Makefile
==============================================================================
--- head/science/hdf/Makefile	Fri Dec 27 16:54:21 2013	(r337749)
+++ head/science/hdf/Makefile	Fri Dec 27 16:55:28 2013	(r337750)
@@ -12,38 +12,30 @@ MASTER_SITE_SUBDIR=	${PORTNAME:U}${PORTV
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Hierarchical Data Format library (from NCSA)
 
-LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		sz:${PORTSDIR}/science/szip
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libsz.so:${PORTSDIR}/science/szip
 
 CONFLICTS=	netcdf-*
 
+USES=		fortran
 USE_BZIP2=	yes
-USE_FORTRAN=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-jpeg="${LOCALBASE}" \
 		--with-szlib="${LOCALBASE}" \
 		--enable-shared
 USE_LDCONFIG=	yes
 
-MAN1=		hdf.1 hdfunpac.1 ncdump.1 ncgen.1
-MAN3=		gr_chunk.3
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not compile on powerpc
-.endif
+BROKEN_powerpc=	Does not compile on powerpc
 
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/PROD_/s|=.*|=""|' ${WRKSRC}/config/freebsd
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${MAN1PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${MAN3PREFIX}/man/man3
+	${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
 
 check regression-test test: build
 	${MAKE} -C ${WRKSRC}/hdf/test check
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/science/hdf/pkg-plist
==============================================================================
--- head/science/hdf/pkg-plist	Fri Dec 27 16:54:21 2013	(r337749)
+++ head/science/hdf/pkg-plist	Fri Dec 27 16:55:28 2013	(r337750)
@@ -90,3 +90,8 @@ lib/libmfhdf.a
 lib/libmfhdf.la
 lib/libmfhdf.so
 lib/libmfhdf.so.3
+man/man1/hdf.1.gz
+man/man1/hdfunpac.1.gz 
+man/man1/ncdump.1.gz 
+man/man1/ncgen.1.gz 
+man/man3/gr_chunk.3.gz



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