aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gnochm/Makefile
blob: ae431e9c4ee114776aeb42b817f25798d796ce72 (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
# Created by: Radek Kozlowski <radek@raadradd.com>
# $FreeBSD$

PORTNAME=   gnochm
PORTVERSION=    0.9.11
PORTREVISION=   7
CATEGORIES= deskutils python gnome
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A GNOME viewer for CHM files

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/chm/_chmlib.so:${PORTSDIR}/textproc/pychm
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USE_GMAKE=  yes
USES=        pathfix gettext
USE_GNOME=  gnomeprefix intlhack pygnome2 pygtk2 pygnomeextras
GNU_CONFIGURE=  yes
USE_PYTHON= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GCONF_SCHEMAS=  gnochm.schemas
INSTALLS_OMF=   yes

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|$(prefix)/share/man|$(prefix)/man|' ${WRKSRC}/data/Makefile.in

.include <bsd.port.mk>