diff options
author | beech <beech@FreeBSD.org> | 2008-08-08 12:48:31 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2008-08-08 12:48:31 +0800 |
commit | 131782e7b38814cd7d5fd15a4d8cb0ea16f4ce12 (patch) | |
tree | faa71b1655c5fcdd232b37f32fba1dd90efd4d2e /science | |
parent | 1f572bc747254b37050ffe45eaedd5779aab77cf (diff) | |
download | freebsd-ports-gnome-131782e7b38814cd7d5fd15a4d8cb0ea16f4ce12.tar.gz freebsd-ports-gnome-131782e7b38814cd7d5fd15a4d8cb0ea16f4ce12.tar.zst freebsd-ports-gnome-131782e7b38814cd7d5fd15a4d8cb0ea16f4ce12.zip |
- Respect PORTDOCS
Reported by: IonBot
Diffstat (limited to 'science')
-rw-r--r-- | science/netcdf/Makefile | 7 | ||||
-rw-r--r-- | science/netcdf/pkg-plist | 4 | ||||
-rw-r--r-- | science/netcdf4/Makefile | 7 | ||||
-rw-r--r-- | science/netcdf4/pkg-plist | 4 |
4 files changed, 6 insertions, 16 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile index 9455b3c9fa46..7ef4c97f6305 100644 --- a/science/netcdf/Makefile +++ b/science/netcdf/Makefile @@ -23,6 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFor GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ENV+= ${MAKE_ENV} +PORTDOCS= COPYRIGHT README RELEASE_NOTES MAN1= ncdump.1 ncgen.1 MAN3= netcdf.3 @@ -44,10 +45,8 @@ post-install: ${LN} -fs libnetcdf.so.4 ${PREFIX}/lib/libnetcdf.so ${LN} -fs libnetcdf_c++.so.4 ${PREFIX}/lib/libnetcdf_c++.so .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in COPYRIGHT README RELEASE_NOTES - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + @${INSTALL} -d ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .else CONFIGURE_ARGS+= --disable-docs-install .endif diff --git a/science/netcdf/pkg-plist b/science/netcdf/pkg-plist index 972db7bbf9e8..b03a9ba0e399 100644 --- a/science/netcdf/pkg-plist +++ b/science/netcdf/pkg-plist @@ -18,7 +18,3 @@ lib/libnetcdf_c++.so.4 %%FORTRAN%%lib/libnetcdff.la %%FORTRAN%%lib/libnetcdff.so %%FORTRAN%%lib/libnetcdff.so.4 -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES -%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/science/netcdf4/Makefile b/science/netcdf4/Makefile index 9455b3c9fa46..7ef4c97f6305 100644 --- a/science/netcdf4/Makefile +++ b/science/netcdf4/Makefile @@ -23,6 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFor GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ENV+= ${MAKE_ENV} +PORTDOCS= COPYRIGHT README RELEASE_NOTES MAN1= ncdump.1 ncgen.1 MAN3= netcdf.3 @@ -44,10 +45,8 @@ post-install: ${LN} -fs libnetcdf.so.4 ${PREFIX}/lib/libnetcdf.so ${LN} -fs libnetcdf_c++.so.4 ${PREFIX}/lib/libnetcdf_c++.so .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in COPYRIGHT README RELEASE_NOTES - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor + @${INSTALL} -d ${DOCSDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .else CONFIGURE_ARGS+= --disable-docs-install .endif diff --git a/science/netcdf4/pkg-plist b/science/netcdf4/pkg-plist index 972db7bbf9e8..b03a9ba0e399 100644 --- a/science/netcdf4/pkg-plist +++ b/science/netcdf4/pkg-plist @@ -18,7 +18,3 @@ lib/libnetcdf_c++.so.4 %%FORTRAN%%lib/libnetcdff.la %%FORTRAN%%lib/libnetcdff.so %%FORTRAN%%lib/libnetcdff.so.4 -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES -%%PORTDOCS%%@dirrm %%DOCSDIR%% |