aboutsummaryrefslogtreecommitdiff
path: root/graphics/vp
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-12-30 06:56:58 +0000
committerMark Pulford <markp@FreeBSD.org>2001-12-30 06:56:58 +0000
commit4a23cc480454374ba006808ad06797cea89ca3f9 (patch)
treec68e1a92349c56f00b9a054b78fc9f0884facb0d /graphics/vp
parent318291c28dbf2bf0fe02f1b78dc755196cdf4ebb (diff)
downloadports-4a23cc480454374ba006808ad06797cea89ca3f9.tar.gz
ports-4a23cc480454374ba006808ad06797cea89ca3f9.zip
Repocopied from graphics/iview.
Updated to 1.5.
Notes
Notes: svn path=/head/; revision=52386
Diffstat (limited to 'graphics/vp')
-rw-r--r--graphics/vp/Makefile18
-rw-r--r--graphics/vp/distinfo2
-rw-r--r--graphics/vp/pkg-descr2
-rw-r--r--graphics/vp/pkg-plist2
4 files changed, 15 insertions, 9 deletions
diff --git a/graphics/vp/Makefile b/graphics/vp/Makefile
index 8267ff8a0920..4fd53ff1ecdd 100644
--- a/graphics/vp/Makefile
+++ b/graphics/vp/Makefile
@@ -1,23 +1,29 @@
-# New ports collection makefile for: iview
+# New ports collection makefile for: vp
# Date created: Apr 13, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
-PORTNAME= iview
-PORTVERSION= 1.4
+PORTNAME= vp
+PORTVERSION= 1.5
CATEGORIES= graphics
MASTER_SITES= http://math.smsu.edu/~erik/files/
MAINTAINER= markp@FreeBSD.org
-LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
+BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool
+LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image \
+ gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE= yes
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt" \
+ ac_cv_func_getopt_long=yes
+MAN1= vp.1
-MAN1= iview.1
+post-patch:
+ @${PERL} -pi -e 's@ getopt_long/Makefile@@g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/graphics/vp/distinfo b/graphics/vp/distinfo
index 68359cc72970..6038819456a5 100644
--- a/graphics/vp/distinfo
+++ b/graphics/vp/distinfo
@@ -1 +1 @@
-MD5 (iview-1.4.tar.gz) = a2e5ebbca2650ab023d817800c5dbf6b
+MD5 (vp-1.5.tar.gz) = f0c32ab42b07933d6f9f868c692c9950
diff --git a/graphics/vp/pkg-descr b/graphics/vp/pkg-descr
index dca9249b0e63..a5ada674689d 100644
--- a/graphics/vp/pkg-descr
+++ b/graphics/vp/pkg-descr
@@ -1,3 +1,3 @@
-Iview is an SDL based image viewer.
+VP is an SDL based image viewer.
WWW: http://math.smsu.edu/~erik/software.php?id=63
diff --git a/graphics/vp/pkg-plist b/graphics/vp/pkg-plist
index 83cd5d9cd246..61c80a815ea1 100644
--- a/graphics/vp/pkg-plist
+++ b/graphics/vp/pkg-plist
@@ -1 +1 @@
-bin/iview
+bin/vp