summaryrefslogblamecommitdiffstats
path: root/science/gchempaint/Makefile
blob: 905f002c111753a401dc781866126e422e8e0474 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                           

                     
























                                                                                             

                      
# New ports collection makefile for:    gchempaint
# Date created:         Mar 18, 2003
# Whom:             Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#

PORTNAME=   gchempaint
PORTVERSION=    0.8.3
PORTREVISION=   1
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>