mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
3e4ed01146
- 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)
44 lines
914 B
Makefile
44 lines
914 B
Makefile
# New ports collection makefile for: xdrawchem
|
|
# Date created: 13 April 2000
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xdrawchem
|
|
PORTVERSION= 1.9.9
|
|
PORTREVISION= 4
|
|
CATEGORIES= biology
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= hemi@puresimplicity.net
|
|
COMMENT= Chemical drawing program
|
|
|
|
LIB_DEPENDS= openbabel.3:${PORTSDIR}/science/openbabel
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_QT_VER= 3
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= QTINCDIR="${LOCALBASE}/include" \
|
|
QTLIBDIR="${LOCALBASE}/lib" \
|
|
LDFLAGS="${LDFLAGS} -lm"
|
|
|
|
MAKE_ARGS+= LDFLAGS+="-lqt-mt ${PTHREAD_LIBS}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH}==sparc64
|
|
BROKEN= does not compile on ${ARCH}
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|malloc\.h|stdlib.h|g' ${WRKSRC}/xdrawchem/application_ob.cpp
|
|
@${REINPLACE_CMD} -e \
|
|
's|lround|(long int)rint|g' ${WRKSRC}/xdrawchem/*.cpp
|
|
|
|
.include <bsd.port.post.mk>
|