summaryrefslogtreecommitdiff
path: root/graphics/qiv
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2008-01-26 13:42:06 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2008-01-26 13:42:06 +0000
commit3769571014b5b003318f49c5bad32385015bd2d4 (patch)
tree3c419abfbc706bb00a2dacd4406ba49ea74aa83a /graphics/qiv
parentWhat's MyBashBurn? (diff)
- Update to 2.1pre12.
- Pass maintainership to submitter. PR: ports/119958 Submitted by: Martin Tournoij <carpetsmoker@xs4all.nl> Approved by: stas (mentor, implicit)
Diffstat (limited to 'graphics/qiv')
-rw-r--r--graphics/qiv/Makefile35
-rw-r--r--graphics/qiv/distinfo6
2 files changed, 16 insertions, 25 deletions
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile
index f8ccc9f121b3..03cc1dbff985 100644
--- a/graphics/qiv/Makefile
+++ b/graphics/qiv/Makefile
@@ -6,22 +6,19 @@
#
PORTNAME= qiv
-PORTVERSION= 2.0
-PORTREVISION= 2
+PORTVERSION= 2.1
CATEGORIES= graphics
MASTER_SITES= http://www.klografx.net/qiv/download/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTNAME= ${PORTNAME}-${PORTVERSION}-pre12
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Small, fast GDK/Imlib image viewer
OPTIONS= XINERAMA "use multiple monitors" off
USE_GETOPT_LONG=yes
USE_GMAKE= yes
USE_GNOME= imlib
-USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= qiv.1
PLIST_FILES= bin/qiv
@@ -29,28 +26,22 @@ PLIST_FILES= bin/qiv
.include <bsd.port.pre.mk>
pre-configure:
-.if defined(WITH_XINERAMA)
- @${ECHO_MSG} compiling with Xinerama support
- @${MV} -v ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
- @${SED} -e 's/\# GTD_XINERAMA/GTD_XINERAMA/' \
- < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
+.if ! defined(WITH_XINERAMA)
.else
- @${ECHO_MSG} compiling without Xinerama support
+ @${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile
.endif
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
- @ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
- @ ${SED} -e 's#\/usr\/local#${PREFIX}#' \
- -e 's#gcc#${CC}#' \
- -e 's#-O2#${CPPFLAGS} ${CFLAGS}#' \
- -e 's#libs-gdk`#libs-gdk` ${LDFLAGS}#' \
- ${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's|/usr/bin|${PREFIX}/bin|g' \
+ ${WRKSRC}/qiv.1
+ @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \
+ s|gcc|${CC}|; \
+ s|-O2|${CFLAGS}|; \
+ s|libs-gdk`|libs-gdk` ${LDFLAGS}|;' \
+ ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/qiv.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.post.mk>
diff --git a/graphics/qiv/distinfo b/graphics/qiv/distinfo
index ff89d09e7453..2ade6202cf2b 100644
--- a/graphics/qiv/distinfo
+++ b/graphics/qiv/distinfo
@@ -1,3 +1,3 @@
-MD5 (qiv-2.0-src.tgz) = 165d0c2f264718821f94732196b7f9e1
-SHA256 (qiv-2.0-src.tgz) = 2f0c03ee7e79c9210f060c87d51811e4540f126d8c3d751b31aab69160b3d091
-SIZE (qiv-2.0-src.tgz) = 76561
+MD5 (qiv-2.1-pre12.tgz) = 80ba1e2da5115a3cc3a6f7e19cb620d8
+SHA256 (qiv-2.1-pre12.tgz) = d54edb92ca91567e2a12b536acc14500efdbccc38718efba99cadaa161a1e70c
+SIZE (qiv-2.1-pre12.tgz) = 94059