1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/deskutils/gnochm/Makefile
Pav Lucistnik 7379be860e Add gnochm, a CHM file viewer. It is designed to integrate nicely with Gnome. It
uses PyCHM, a Python package that exports the CHMLIB API. Features are:

    * Full-text search support
    * Bookmarks
    * Gnome integration (on-line help, file associations, drag'n'drop from file
      manager, gnome menu entry)
    * Internationalisation support
    * Configurable support for HTTP links
    * Configurable support for external ms-its links

WWW: http://gnochm.sourceforge.net/

PR:		ports/74459
Submitted by:	Radek Kozlowski <radek@raadradd.com>
2004-12-02 07:32:34 +00:00

39 lines
970 B
Makefile

# New ports collection makefile for: gnochm
# Date created: 25 November 2004
# Whom: Radek Kozlowski <radek@raadradd.com>
#
# $FreeBSD$
#
PORTNAME= gnochm
PORTVERSION= 0.9.3
CATEGORIES= deskutils python gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= radek@raadradd.com
COMMENT= A GNOME viewer for CHM files
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/chm/_chmlib.so:${PORTSDIR}/textproc/pychm
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chm/_chmlib.so:${PORTSDIR}/textproc/pychm
USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix intlhack pygnome2
USE_LIBTOOL_VER=15
USE_PYTHON= yes
USE_REINPLACE= yes
USE_X_PREFIX= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
GCONF_SCHEMAS= gnochm.schemas
INSTALLS_OMF= yes
MAN1= gnochm.1
MANCOMPRESSED= no
post-patch:
@${REINPLACE_CMD} -e 's|@APPDATADIR@|@APPDATADIR@/gnome|' ${WRKSRC}/gnochm.py.in
.include <bsd.port.mk>