aboutsummaryrefslogtreecommitdiff
path: root/graphics/qiv
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>2000-02-12 23:31:59 +0000
committerBill Fumerola <billf@FreeBSD.org>2000-02-12 23:31:59 +0000
commit3409d0ae2fcb7fb9f22e3c7a8891c4c9b436a85a (patch)
tree162083885440fb43f836605e02a3cc250dd3a8fc /graphics/qiv
parentde309b695d492b335458dd01a120ddc3b8e59e33 (diff)
downloadports-3409d0ae2fcb7fb9f22e3c7a8891c4c9b436a85a.tar.gz
ports-3409d0ae2fcb7fb9f22e3c7a8891c4c9b436a85a.zip
Notes
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