diff options
author | rafan <rafan@FreeBSD.org> | 2009-09-27 11:05:25 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2009-09-27 11:05:25 +0800 |
commit | 237e5eae3afce19df08a014d15b63c1b513d1359 (patch) | |
tree | 721e769f463f256c5567b151d4aeb99c98515270 /science/netcdf4 | |
parent | 4dd16b6ea21ae24165058bce012386e3046fbc16 (diff) | |
download | freebsd-ports-gnome-237e5eae3afce19df08a014d15b63c1b513d1359.tar.gz freebsd-ports-gnome-237e5eae3afce19df08a014d15b63c1b513d1359.tar.zst freebsd-ports-gnome-237e5eae3afce19df08a014d15b63c1b513d1359.zip |
- Move pkgconfig config to libdata, just like others do
- Remove a useless post-patch
- Bump PORTREVISION
Submitted by: maintainer via irc
Feature safe: yes
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 |