aboutsummaryrefslogtreecommitdiff
path: root/science/kmovisto/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-26 20:34:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-26 20:34:31 +0000
commitd54c43dbccefbd6c8930660fc30e8a42380f288c (patch)
treeffb87102d8a6bfd03f8af8b4b68d0bcb9212c447 /science/kmovisto/Makefile
parent40400e6624e775b2eb03ee93ec47a528d4af9191 (diff)
downloadports-d54c43dbccefbd6c8930660fc30e8a42380f288c.tar.gz
ports-d54c43dbccefbd6c8930660fc30e8a42380f288c.zip
Notes
Diffstat (limited to 'science/kmovisto/Makefile')
-rw-r--r--science/kmovisto/Makefile28
1 files changed, 18 insertions, 10 deletions
diff --git a/science/kmovisto/Makefile b/science/kmovisto/Makefile
index b4b1d76c438b..d65c8067f766 100644
--- a/science/kmovisto/Makefile
+++ b/science/kmovisto/Makefile
@@ -7,25 +7,33 @@
#
PORTNAME= kmovisto
-PORTVERSION= 0.6.0
+PORTVERSION= 0.7.0
CATEGORIES= science
MASTER_SITES= http://mitglied.lycos.de/pageofmh/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A real 3-D molecule viewer
-USE_REINPLACE= yes
USE_QT_VER= 3
-USE_MESA= yes
-USE_GNOME= gnometarget
-GNU_CONFIGURE= yes
+USE_GL= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
- @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
- -e "s|-pedantic||g" -e "s|-ldl||g" ${WRKSRC}/configure
- @${REINPLACE_CMD} -e "s|-ldl||g" ${WRKSRC}/kmovisto/Makefile.in
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-pedantic||g ; \
+ s|-fno-exceptions|-fexceptions|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/kmovisto/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kmovisto/kmovisto ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/kmovisto/docs/en/*.html ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/kmovisto/docs/en/images/*.jpg ${DOCSDIR}/images
+.endif
.include <bsd.port.mk>