aboutsummaryrefslogtreecommitdiff
path: root/graphics/qiv
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
commitb185046be2ec03555daaf4f26d38542c403a9955 (patch)
tree0274ce607614533de66837fc1f70d4c35770d9e1 /graphics/qiv
parent88d002074007544d532f2495aeb93729291e6275 (diff)
downloadports-b185046be2ec03555daaf4f26d38542c403a9955.tar.gz
ports-b185046be2ec03555daaf4f26d38542c403a9955.zip
Notes
Diffstat (limited to 'graphics/qiv')
-rw-r--r--graphics/qiv/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile
index 7e7045b771b5..c1f9b215fc4d 100644
--- a/graphics/qiv/Makefile
+++ b/graphics/qiv/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qiv
PORTVERSION= 1.8
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.klografx.net/qiv/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -15,8 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
COMMENT= Small, fast GDK/Imlib image viewer
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-
+USE_GETOPT_LONG=yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= imlib
@@ -30,10 +30,9 @@ do-configure:
${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1
@ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
@ ${SED} -e 's#\/usr\/local#${PREFIX}#' \
- -e 's#RANDOM GETOPT_LONG#RANDOM#' \
-e 's#gcc#${CC}#' \
- -e 's#-O2#${CFLAGS}#' \
- -e 's#libs-gdk`#libs-gdk` -lgnugetopt#' \
+ -e 's#-O2#${CPPFLAGS} ${CFLAGS}#' \
+ -e 's#libs-gdk`#libs-gdk` ${LDFLAGS}#' \
${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
do-install: