aboutsummaryrefslogtreecommitdiffstats
path: root/editors/scribes/Makefile
blob: f51ef32d35f88b6dd536afc02a102899a4bf371a (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
36
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$

PORTNAME=   scribes
PORTVERSION=    0.4.b954
PORTREVISION=   3
CATEGORIES= editors
MASTER_SITES=   https://launchpadlibrarian.net/66129407/
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}-dev-${PORTVERSION:E:S/b/build/}

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

LICENSE=    GPLv2

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
        ${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \
        ${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-xml \
        yelp:${PORTSDIR}/x11/yelp

USES=       desktop-file-utils gettext gmake shebangfix tar:bzip2
SHEBANG_FILES=  scribes.in
USE_GNOME=  gnomeprefix pygnomeextras pygtksourceview gnomedocutils
USE_PYTHON= yes
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
INSTALLS_OMF=   yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-install:
    @(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall lib/scribes)

.include <bsd.port.mk>