aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchempaint/Makefile
blob: 4afede99454ed3cf52f98a53a9049948af34e498 (plain) (blame)
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
# New ports collection makefile for:    gchempaint
# Date created:         Mar 18, 2003
# Whom:             Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$

PORTNAME=   gchempaint
PORTVERSION=    0.8.0
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/gnome/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>