aboutsummaryrefslogtreecommitdiffstats
path: root/editors/scribes/Makefile
blob: 1560a3c3845f38a5f5c73986b5f6a5a7a520fb0d (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:    scribes
# Date created:             24 November 2006
# Whom:                 Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   scribes
PORTVERSION=    0.3.1
CATEGORIES= editors
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= pav@FreeBSD.org
COMMENT=    Slick yet powerful text editor for GNOME

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  pygnomedesktop pygnomeextras gnomeprefix
USE_PYTHON= yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  scribes.schemas
INSTALLS_ICONS= yes
INSTALLS_OMF=   yes

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

.include <bsd.port.mk>