Skip to content

Commit

Permalink
- Respect PORTDOCS
Browse files Browse the repository at this point in the history
Reported by:	IonBot
  • Loading branch information
Beech Rintoul authored and Beech Rintoul committed Aug 8, 2008
1 parent 4a952a9 commit 24103d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
7 changes: 3 additions & 4 deletions science/netcdf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 0 additions & 4 deletions science/netcdf/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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%%
7 changes: 3 additions & 4 deletions science/netcdf4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 0 additions & 4 deletions science/netcdf4/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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%%

0 comments on commit 24103d5

Please sign in to comment.