2008-09-02 17:11:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2008/09/02 21:11:12 ajacoutot Exp $
|
2007-01-23 10:43:05 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= two-dimensional molecule drawing program
|
2007-01-23 10:43:05 -05:00
|
|
|
|
|
|
|
DISTNAME= xdrawchem-1.9.9
|
2008-09-02 17:11:12 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2007-01-23 10:43:05 -05:00
|
|
|
CATEGORIES= x11 biology
|
|
|
|
|
|
|
|
HOMEPAGE= http://xdrawchem.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xdrawchem/}
|
|
|
|
|
2008-09-01 04:52:31 -04:00
|
|
|
WANTLIB= c m pthread stdc++ z
|
2007-01-23 10:43:05 -05:00
|
|
|
|
|
|
|
MODULES= x11/qt3
|
|
|
|
|
2008-08-20 12:09:23 -04:00
|
|
|
LIB_DEPENDS= openbabel.>=4:openbabel->=2.2.0:misc/openbabel
|
|
|
|
|
2007-01-23 10:43:05 -05:00
|
|
|
VMEM_WARNING= Yes
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2008-08-20 12:09:23 -04:00
|
|
|
MAKE_FLAGS= LDFLAGS+="-lqt-mt -pthread -L${X11BASE}/lib"
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2007-01-23 10:43:05 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--with-qtincdir=${MODQT_INCDIR} \
|
|
|
|
--with-qtlibdir=${MODQT_LIBDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|