aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/nip/Makefile
blob: 22b99ae76780dd08f2f8f63b375278b5ac7487fa (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
40
41
# New ports collection makefile for:    vips
# Date created:     19 December 2003
# Whom:         Lev Serebryakov <lev@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nip
PORTVERSION=    7.8.14
CATEGORIES= graphics
MASTER_SITES=   http://www.vips.ecs.soton.ac.uk/vips-7.8/

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

LIB_DEPENDS=    vips.0:${PORTSDIR}/graphics/vips \
        xml2.5:${PORTSDIR}/textproc/libxml2 \
        gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra

USE_GMAKE=  yes
USE_GNOME=  pkgconfig
GNU_CONFIGURE=  yes
USE_LIBTOOL_VER=13
USE_XLIB=   yes
USE_REINPLACE=  yes

MAN1=       nip.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha" || ${ARCH} == "amd64"
BROKEN=     "Does not compile on alpha or amd64"
.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>