# New ports collection makefile for:	gchempaint
# Date created:			Mar 18, 2003
# Whom:				Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD: ports/science/gchempaint/Makefile,v 1.1 2003/04/08 00:09:55 marcus Exp $

PORTNAME=	gchempaint
PORTVERSION=	0.3.3
CATEGORIES=	science
MASTER_SITES=	http://savannah.nongnu.org/download/gchempaint/unstable.pkg/${PORTVERSION}/

MAINTAINER=	pav@oook.cz
COMMENT=	2D chemical structures editor for GNOME 2

LIB_DEPENDS=	gcu.1:${PORTSDIR}/science/gchemutils

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GNOME=	gnomehack gnomeprefix libgnomeprintui libgnomeui
USE_GMAKE=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>
