freebsd-ports/science/kmovisto/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

40 lines
1,001 B
Makefile

# ex:ts=8
# Ports collection Makefile for: kmovisto
# Date created: Oct 23, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= kmovisto
PORTVERSION= 0.7.0
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= http://mitglied.lycos.de/pageofmh/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A real 3-D molecule viewer
USE_XORG= x11 ice xext
USE_QT_VER= 3
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${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>