aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/nip2/Makefile
blob: d6fedaf9945efcb483ee2e74b2c1262f7f51dc83 (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
37
38
39
# New ports collection makefile for:    vips
# Date created:     19 December 2003
# Whom:         Lev Serebryakov <lev@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nip2
PORTVERSION=    7.10.10
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://www.vips.ecs.soton.ac.uk/vips-7.10/

MAINTAINER= lev@FreeBSD.org
COMMENT=    Graphical user interface for VIPS

LIB_DEPENDS=    vips.14:${PORTSDIR}/graphics/vips \
        xml2.5:${PORTSDIR}/textproc/libxml2

USE_GMAKE=  yes
USE_GNOME=  gnomemimedata glib20 pkgconfig gtk20
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes

MAN1=       nip2.1

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=     "Does not compile on !i386"
.endif

post-patch:
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} 's/^EXTRA_DIST = scraps bootstrap doc/EXTRA_DIST = scraps bootstrap/' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} '535,538s/^/#/' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>