aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2001-12-30 14:56:58 +0800
committermarkp <markp@FreeBSD.org>2001-12-30 14:56:58 +0800
commit83ee94ccb15d75738dd288f39e8440c85d66cae4 (patch)
treebbf17b7a945b88bac99adba8f1421091af4b6890
parentfbaed5fe974902380bbc9a2c35c2396f87fec38b (diff)
downloadfreebsd-ports-gnome-83ee94ccb15d75738dd288f39e8440c85d66cae4.tar.gz
freebsd-ports-gnome-83ee94ccb15d75738dd288f39e8440c85d66cae4.tar.zst
freebsd-ports-gnome-83ee94ccb15d75738dd288f39e8440c85d66cae4.zip
Repocopied from graphics/iview.
Updated to 1.5.
-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