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

PORTNAME=	xzgv
PORTVERSION=	0.8
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://xzgv.browser.org/ \
		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/graphics/viewers/X

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

USE_X_PREFIX=	yes
USE_GNOME=	imlib
USE_REINPLACE=	yes
USE_GMAKE=	yes

MAN1=		xzgv.1
INFO=		xzgv

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

.include <bsd.port.pre.mk>

.if defined(WITH_MMX) && (${ARCH} == "i386")
CFLAGS+=	-DINTERP_MMX
.endif

.include <bsd.port.post.mk>