2008-01-03 04:15:47 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2008/01/03 09:15:47 sthen 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
|
|
|
|
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/}
|
|
|
|
|
|
|
|
WANTLIB= c m pthread stdc++ z
|
|
|
|
|
|
|
|
MODULES= x11/qt3
|
|
|
|
|
|
|
|
LIB_DEPENDS= openbabel.>=3::misc/openbabel
|
|
|
|
|
|
|
|
VMEM_WARNING= Yes
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
MAKE_FLAGS+= LDFLAGS+="-lqt-mt -pthread -L${X11BASE}/lib"
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--with-qtincdir=${MODQT_INCDIR} \
|
|
|
|
--with-qtlibdir=${MODQT_LIBDIR}
|
|
|
|
|
2008-01-03 04:15:47 -05:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
|
2007-02-07 09:01:51 -05:00
|
|
|
PATCH_LIST= patch-* gcc-*
|
|
|
|
.endif
|
|
|
|
|
2007-01-23 10:43:05 -05:00
|
|
|
.include <bsd.port.mk>
|