diff options
Diffstat (limited to 'biology/molden/Makefile')
-rw-r--r-- | biology/molden/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile index 8f480a9a211e..14a33cc1e6ce 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -22,6 +22,10 @@ USE_FORTRAN= yes RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable. MAKEFILE= ${WRKSRC}/makefile +.if !defined(NOPORTDOCS) +PORTDOCS= docs/* +.endif + post-patch: @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/xwin.c @@ -38,12 +42,12 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/surf/surf ${PREFIX}/bin .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/molden + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} +.endif ${MKDIR} ${PREFIX}/share/molden/test ${MKDIR} ${PREFIX}/share/molden/utils - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/molden ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/molden/test ${INSTALL_DATA} ${WRKSRC}/utils/* ${PREFIX}/share/molden/utils -.endif .include <bsd.port.mk> |