aboutsummaryrefslogtreecommitdiff
path: root/graphics/qiv
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/qiv')
-rw-r--r--graphics/qiv/Makefile23
-rw-r--r--graphics/qiv/distinfo2
2 files changed, 14 insertions, 11 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile
index 114b5abad83a..fe31ccf1a2db 100644
--- a/graphics/qiv/Makefile
+++ b/graphics/qiv/Makefile
@@ -1,14 +1,14 @@
-# New ports collection makefile for: qiv
-# Version required: 1.0
-# Date created: 25 December 1998
-# Whom: Bill Fumerola <billf@chc-chimes.com>
+# New ports collection makefile for: qiv
+# Version required: 1.2
+# Date created: 25 December 1998
+# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#
-DISTNAME= qiv-1.1
+DISTNAME= qiv-1.2
CATEGORIES= graphics
-MASTER_SITES= http://www.klografx.de/software/files/ \
+MASTER_SITES= http://www.klografx.de/software/files/ \
ftp://ftp.klografx.de/pub/
EXTRACT_SUFX= .tgz
@@ -20,13 +20,16 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
MAN1= qiv.1
-post-patch:
+do-configure:
@ ${MV} ${WRKSRC}/qiv.1 ${WRKSRC}/qiv.1.pre_sed
@ ${SED} -e 's#\/usr\/bin#${PREFIX}/bin#g' \
- ${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1
+ ${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1
@ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
- @ ${SED} -e 's#RANDOM GETOPT_LONG#RANDOM#' \
- ${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
+ @ ${SED} -e 's#\/usr\/local#${PREFIX}#' \
+ -e 's#RANDOM GETOPT_LONG#RANDOM#' \
+ -e 's#gcc#${CC}#' \
+ -e 's#-O2#${CFLAGS}#' \
+ ${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
diff --git a/graphics/qiv/distinfo b/graphics/qiv/distinfo
index cbcb8b38fd03..13b85c4a8591 100644
--- a/graphics/qiv/distinfo
+++ b/graphics/qiv/distinfo
@@ -1 +1 @@
-MD5 (qiv-1.1.tgz) = bdb97ef0100e68821248e41307b7afa4
+MD5 (qiv-1.2.tgz) = 4c9e7c72ea0ab7670c2fcbe6679bda71