aboutsummaryrefslogtreecommitdiffstats
path: root/security/parano/Makefile
blob: 6ed940a4bcbdf1009b15153bfd5c2081ef8317a8 (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:    parano
# Date created:     3 May 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   parano
PORTVERSION=    0.3.3
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_BERLIOS} \
        http://bsd1.csme.ru/myports/ \
        http://bsd2.csme.ru/myports/ \
        http://bsd3.csme.ru/myports/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    A Gnome program to deal with hashfiles

BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+=   ${BUILD_DEPENDS}

GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_X_PREFIX=   yes
USE_GNOME=  gtk20
USE_GETTEXT=    yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    ${REINPLACE_CMD} -e 's/$$</$$>/' ${WRKSRC}/src/Makefile.in
    ${REINPLACE_CMD} -e 's,#!.*python,#!${PYTHON_CMD},' ${WRKSRC}/src/parano.py

.include <bsd.port.mk>