openbsd-ports/x11/xdrawchem/Makefile
2017-04-10 11:46:32 +00:00

34 lines
843 B
Makefile

# $OpenBSD: Makefile,v 1.22 2017/04/10 11:46:37 sthen Exp $
COMMENT= two-dimensional molecule drawing program
DISTNAME= xdrawchem-1.9.9
REVISION= 7
CATEGORIES= x11 biology
HOMEPAGE= http://xdrawchem.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += GL ICE SM X11 X11-xcb Xau Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xft Xi Xinerama Xmu Xrandr Xrender Xt Xxf86vm c drm expat
WANTLIB += fontconfig freetype glapi jpeg lcms m mng openbabel>=4 png
WANTLIB += pthread pthread-stubs ${LIBCXX} xcb xcb-dri2 xcb-glx z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xdrawchem/}
MODULES= x11/qt3
LIB_DEPENDS = misc/openbabel>=2.2.0
USE_GMAKE= Yes
MAKE_FLAGS= LDFLAGS+="-lqt-mt -pthread -L${X11BASE}/lib"
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-qtincdir=${MODQT_INCDIR} \
--with-qtlibdir=${MODQT_LIBDIR}
.include <bsd.port.mk>