mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Move pkgconfig config to libdata, just like others do
- Remove a useless post-patch - Bump PORTREVISION Submitted by: maintainer via irc Feature safe: yes
This commit is contained in:
parent
f295d8d3bc
commit
493463bb86
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242156
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue