Skip to content

Commit

Permalink
Now pkg-plist for ${PREFIX}/share/mpqc part is generated
Browse files Browse the repository at this point in the history
automatically.
  • Loading branch information
Maho Nakata authored and Maho Nakata committed Feb 12, 2007
1 parent 3536b6a commit 456373a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6,952 deletions.
13 changes: 10 additions & 3 deletions science/mpqc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen

GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:259
ALL_TARGET= #empty

WANT_FORTRAN= yes #dummy but future use
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
Expand Down Expand Up @@ -97,9 +96,10 @@ CXXFLAGS+= -O2 -ffast-math
pre-configure:
@${ECHO} "You can optimize by setting WITH_OPTIMIZED_FLAGS=yes."

post-build:
do-build:
@cd ${WRKSRC} ; ${GMAKE}
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/doc ; ${GMAKE}
@cd ${WRKSRC}/doc ; ${GMAKE}
.endif

do-install:
Expand All @@ -119,9 +119,16 @@ post-install:
cd ${WRKSRC}/doc/html ; ${TAR} -chf - . | ${TAR} -xf - -C ${DOCSDIR}
${FIND} ${DOCSDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
cd ${PREFIX} ; ${FIND} -s share/doc/${PORTNAME} -type f >> ${TMPPLIST}
cd ${PREFIX} ; ${FIND} -s share/doc/${PORTNAME} -type l >> ${TMPPLIST}
.endif
cd ${PREFIX} ; ${FIND} -s share/mpqc -type f >> ${TMPPLIST}
cd ${PREFIX} ; ${FIND} -s share/mpqc -type l >> ${TMPPLIST}
cd ${PREFIX} ; ${FIND} -s share/mpqc -type d > ${WRKDIR}/dir.tmp
${SORT} -r ${WRKDIR}/dir.tmp | ${XARGS} -n 1 ${ECHO_CMD} @dirrm >> ${TMPPLIST}

validate:
cd ${WRKSRC}/src/bin/mpqc/validate ; ${GMAKE} check0 ; ${GMAKE} check0_run ; ${GMAKE} check0_chk

.include <bsd.port.post.mk>

5 changes: 3 additions & 2 deletions science/mpqc/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ You can also validate your mpqc binaries when you employ other settings by:
% make validate >& validate.log &
(it may take few days, though)
For details, please see file:///usr/local/share/doc/mpqc/hierarchy.html
or http://aros.ca.sandia.gov/~cljanss/mpqc/html/ValidatingMPQC.html.
or http://www.mpqc.org/mpqc-html/mpqcval.html

WWW: http://www.mpqc.org/

WWW: http://aros.ca.sandia.gov/~cljanss/mpqc/
Loading

0 comments on commit 456373a

Please sign in to comment.