summaryrefslogtreecommitdiffstats
path: root/science/gchempaint/Makefile
blob: 90d48dcd77a846d4cff2e8c6a5d96d6c5203b383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:	gchempaint
# Date created:			Mar 18, 2003
# Whom:				Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#

PORTNAME=	gchempaint
PORTVERSION=	0.8.6
CATEGORIES=	science
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}/0.8

MAINTAINER=	pav@FreeBSD.org
COMMENT=	2D chemical structures editor for GNOME 2

BUILD_DEPENDS=	gnome-doc-prepare:${PORTSDIR}/textproc/gnome-doc-utils
LIB_DEPENDS=	gcu.8:${PORTSDIR}/science/gchemutils

USE_BZIP2=	yes
USE_XLIB=	yes
INSTALLS_ICONS=	yes
INSTALLS_OMF=	yes
USE_LDCONFIG=	yes
GCONF_SCHEMAS=	gchempaint.schemas gchempaint-arrows.schemas
USE_GNOME=	gnomehack intlhack libgnomeprintui libgnomeui
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--with-help-dir=${PREFIX}/share/gnome/help --with-omf-dir=${PREFIX}/share/omf

post-patch:
	@${REINPLACE_CMD} -e 's|-release $$(VERSION)|-version @GCP_VERSION_INFO@|' \
		${WRKSRC}/lib/Makefile.in ${WRKSRC}/libgcpcanvas/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud