diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2009-09-27 03:05:25 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2009-09-27 03:05:25 +0000 |
commit | 493463bb86b9ab146df567b3233580ab73f642e4 (patch) | |
tree | 41218aed1f554f96da1ebb9b4507d569bb95d962 /science/netcdf4 | |
parent | f295d8d3bcea0592e3bae9e7b8c20b197f5fdb42 (diff) | |
download | ports-493463bb86b9ab146df567b3233580ab73f642e4.tar.gz ports-493463bb86b9ab146df567b3233580ab73f642e4.zip |
Notes
Diffstat (limited to 'science/netcdf4')
-rw-r--r-- | science/netcdf4/Makefile | 13 | ||||
-rw-r--r-- | science/netcdf4/pkg-plist | 3 |
2 files changed, 8 insertions, 8 deletions
diff --git a/science/netcdf4/Makefile b/science/netcdf4/Makefile index b417a782b278..2edc6326dc0f 100644 --- a/science/netcdf4/Makefile +++ b/science/netcdf4/Makefile @@ -7,6 +7,7 @@ PORTNAME= netcdf PORTVERSION= 4.0.1 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= http://www.unidata.ucar.edu/downloads/netcdf/ftp/ \ ftp://ftp.unidata.ucar.edu/pub/netcdf/ \ @@ -48,16 +49,16 @@ CONFIGURE_ARGS+=--enable-hdf5-convert .endif post-patch: + @${REINPLACE_CMD} -e \ + 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '288 s/\(info_docs\).*/html_docs\)/' \ + ${WRKSRC}/man4/Makefile.in .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e '829 s/install-docDATA //' \ ${WRKSRC}/man4/Makefile.in + .endif - @${REINPLACE_CMD} -e \ - 's/\(@INSTALL_DOCS_TRUE@MAN.*\)/# \1/' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e \ - '288 s/\(info_docs\).*/html_docs\)/' \ - ${WRKSRC}/man4/Makefile.in post-configure: @cd ${WRKSRC}/man4 && make maintainer-clean-aminfo diff --git a/science/netcdf4/pkg-plist b/science/netcdf4/pkg-plist index 5d1a3621254a..a60295c8a806 100644 --- a/science/netcdf4/pkg-plist +++ b/science/netcdf4/pkg-plist @@ -19,7 +19,7 @@ lib/libnetcdf_c++4.a lib/libnetcdf_c++4.la lib/libnetcdf_c++4.so lib/libnetcdf_c++4.so.1 -lib/pkgconfig/netcdf.pc +libdata/pkgconfig/netcdf.pc %%PORTDOCS%%%%DOCSDIR%%/ncdump-man-1.html %%PORTDOCS%%%%DOCSDIR%%/ncgen-man-1.html %%PORTDOCS%%%%DOCSDIR%%/ncgen4-man-1.html @@ -59,4 +59,3 @@ lib/pkgconfig/netcdf.pc %%PORTDOCS%%%%DOCSDIR%%/netcdf_f77-man.html %%PORTDOCS%%%%DOCSDIR%%/netcdf_f90-man.html %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry lib/pkgconfig |