aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/griffith/Makefile
blob: 678b6083d6eec44c0fd03fe0e372763998217443 (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
# New ports collection makefile for:    griffith
# Date created:     27 January 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   griffith
PORTVERSION=    0.9.3.1
CATEGORIES= deskutils
MASTER_SITES=   CENKES BERLIOS

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    Lightweight film collection manager

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 \
        ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab \
        ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
        ${PYTHON_SITELIBDIR}/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml \
        py*-sqlalchemy>=0.3.3:${PORTSDIR}/databases/py-sqlalchemy

USE_GETTEXT=    yes
USE_PYTHON= yes
USE_GNOME=  pygtk2 pygnomeextras
USE_GMAKE=  yes
NO_BUILD=   yes
MAN1=       ${PORTNAME}.1
MANLANG=    "" pl pt

post-patch:
    @${FIND} ${WRKSRC}/ -name Makefile |\
        ${XARGS} ${REINPLACE_CMD} -e '/^PREFIX/d' -e '/^MANDIR/s|=.*|=${MANPREFIX}/man|'
    @${REINPLACE_CMD} -e '/^LANGUAGES=/s|find.*|cd i18n/\&\&ls -d *)|' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's|/usr/share/fonts|${X11BASE}/lib/X11/fonts|' ${WRKSRC}/${PORTNAME}

.include <bsd.port.mk>