aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xzgv/Makefile
blob: ebcb2c9f6b1ff11c794edad513cf18bf75b4e226 (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
# New ports collection makefile for:    xzgv
# Date created:             7 Oct 2000
# Whom:                 Norio Suzuki <nosuzuki@e-mail.ne.jp>
#
# $FreeBSD$
#

PORTNAME=   xzgv
PORTVERSION=    0.9
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/

MAINTAINER= nosuzuki@postcard.st
COMMENT=    An image viewer with thumbnail-based file selector for X

BUILD_DEPENDS=  gawk:${PORTSDIR}/lang/gawk

USE_GNOME=  imlib gdkpixbuf gtk20
USE_GMAKE=  yes

MAN1=       xzgv.1
PLIST_FILES=    bin/xzgv

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \
         s|^CFLAGS|#CFLAGS|g ; \
         s|^PREFIX|#PREFIX|g' ${WRKSRC}/config.mk

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/xzgv ${LOCALBASE}/bin/
    ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${MANPREFIX}/man/man1

.include <bsd.port.post.mk>