aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xzgv/Makefile
blob: c93a40fb1d507f3f57e445f238e5e7aa57dd6b57 (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
# Created by: Norio Suzuki <nosuzuki@e-mail.ne.jp>
# $FreeBSD$

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

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

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

USES=       gmake pkgconfig
USE_GNOME=  imlib gdkpixbuf gtk20

PLIST_FILES=    bin/xzgv man/man1/xzgv.1.gz

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 ${STAGEDIR}${LOCALBASE}/bin/
    ${INSTALL_MAN} ${WRKSRC}/doc/xzgv.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>