1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/graphics/nip2/Makefile
Antoine Brodin e63e5a377a Unbreak
With hat:	portmgr
2014-06-20 18:05:21 +00:00

46 lines
1.3 KiB
Makefile

# Created by: Lev Serebryakov <lev@FreeBSD.org>
# $FreeBSD$
PORTNAME= nip2
PORTVERSION= 7.26.3
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://www.vips.ecs.soton.ac.uk/supported/${PORTVERSION:R}/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Graphical user interface for VIPS
LIB_DEPENDS= libvips.so:${PORTSDIR}/graphics/vips \
gsl:${PORTSDIR}/math/gsl \
xml2:${PORTSDIR}/textproc/libxml2
USES= bison gmake pkgconfig
USE_GNOME= gnomemimedata glib20 gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${PREFIX}/man
# This port has no man-pages. It installs a number of HTML files,
# which are available through the GUI's Help. For this reason, they
# are always installed, regardless of the NOPORTDOCS setting.
NO_STAGE= yes
# The PDF version of the documentation is another story:
.if defined(NOPORTDOCS)
EXTRACT_AFTER_ARGS= --exclude nipguide --exclude pdf
.endif
# Somehow vendor's configure misses these:
MAKE_ENV+= UPDATE_MIME_DATABASE=update-mime-database \
UPDATE_DESKTOP_DATABASE=update-desktop-database
MAN1= nip2.1
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 1000013
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-parser.h
.endif
post-patch:
@${REINPLACE_CMD} -e 's|n_bytes|x_n_bytes|g' -e 's|text_size|x_text_size|g' \
${WRKSRC}/src/gtkitementry.c
.include <bsd.port.mk>