aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gqview-devel/Makefile
blob: 3d8f51911489c441930df435bcb792f45bff2e04 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# New ports collection makefile for:    gqview
# Date Created:             27 Oct 1998
# Whom:                 Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gqview
PORTVERSION=    2.1.0
PORTREVISION=   0
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= oliver@FreeBSD.org
COMMENT=    Another gtk2-based graphic file viewer

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png

USE_X_PREFIX=   yes
USE_GNOME=  gnomehier gtk20
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       gqview.1

CONFLICTS=  gqview-1.4* gqview-2.0*
LATEST_LINK=    gqview-devel

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|$$prefix/share/doc/gqview-$$VERSION|${DOCSDIR}|g' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \
        ${WRKSRC}/doc/Makefile.in

post-install:
    ${MKDIR} ${PREFIX}/share/gnome/apps/Graphics
    ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
    ${MKDIR} ${PREFIX}/share/gnome/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>
ibvpx?h=gnome-3.28&id=e79e613148627faf99d84ce19dbfb32f838ac361'>- Fix all cases of 'No newline at end of file' in ports treeak2013-02-011-1/+1 * Fix build on systems with non UTF-8 localepawel2012-09-281-0/+9 * - Update to 1.1ashish2012-06-165-15/+30 * - Update to 1.0.0ashish2012-02-164-16/+17 * - Update to 0.9.7-p1[1]ashish2011-09-194-6/+29 * Update libvpx to 0.9.6mm2011-05-044-9/+9 * - Update to 0.9.5.ashish2010-11-213-7/+7 * - Remove the workaround for LICENSE.ashish2010-09-281-4/+1 * - Add IA64 support.ashish2010-08-213-4/+20