aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vp/Makefile
blob: 36a031c21d301c7fee45e89953781d4dad0f1dd1 (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
# New ports collection makefile for:    vp
# Date created:         Apr 13, 2001
# Whom:             Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=   vp
PORTVERSION=    1.5
CATEGORIES= graphics
MASTER_SITES=   http://math.smsu.edu/~erik/files/

MAINTAINER= markp@FreeBSD.org
COMMENT=    An image viewer for X

LIB_DEPENDS=    SDL_image.10:${PORTSDIR}/graphics/sdl_image \
        gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

SDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config
USE_LIBTOOL=    yes
CONFIGURE_ENV=  SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" \
        ac_cv_func_getopt_long=yes
USE_REINPLACE=  yes
MAN1=       vp.1

post-patch:
    ${REINPLACE_CMD} 's@ getopt_long/Makefile@@g' ${WRKSRC}/configure

.include <bsd.port.mk>