diff options
author | billf <billf@FreeBSD.org> | 2000-02-13 07:31:59 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2000-02-13 07:31:59 +0800 |
commit | e33143542e1912777ab05005cb304e891c742288 (patch) | |
tree | 1a7bad66b2565a9f1dc20b86d904bdef742ad0f1 /graphics/qiv/Makefile | |
parent | 0118c8349b17573caefd4e366fda55f6fc9b4de6 (diff) | |
download | freebsd-ports-gnome-e33143542e1912777ab05005cb304e891c742288.tar.gz freebsd-ports-gnome-e33143542e1912777ab05005cb304e891c742288.tar.zst freebsd-ports-gnome-e33143542e1912777ab05005cb304e891c742288.zip |
Update port to 1.2, and make the sed logic more intelligent (thanks!).
PR: ports/16678
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'graphics/qiv/Makefile')
-rw-r--r-- | graphics/qiv/Makefile | 23 |
1 files changed, 13 insertions, 10 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/ |