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

PORTNAME=   gchempaint
PORTVERSION=    0.4.7
CATEGORIES= science
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

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

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix intlhack libgnomeprintui libgnomeui
USE_GMAKE=  yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|$$(datadir)/mime/|${PREFIX}/share/mime/|' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|$$(datadir)/mime$$|${PREFIX}/share/mime|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>