32 lines
936 B
Makefile
32 lines
936 B
Makefile
# New ports collection makefile for: gchemutils
|
|
# Date created: Mar 18, 2003
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gchemutils
|
|
PORTVERSION= 0.2.7
|
|
CATEGORIES= science
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= gnome-chemistry-utils-${PORTVERSION}
|
|
|
|
MAINTAINER= pav@FreeBSD.org
|
|
COMMENT= C++ classes and Gtk2 widgets related to chemistry
|
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext \
|
|
openbabel.0:${PORTSDIR}/science/openbabel
|
|
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gnomehack gnomeprefix intlhack libglade2 libgnomeprint libgnomeui
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER=15
|
|
USE_REINPLACE= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|(datadir)/mime$$|(prefix)/share/mime| ; s|(datadir)/mime/|(prefix)/share/mime/|g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|