2000-02-13 00:31:59 +01:00
|
|
|
# New ports collection makefile for: qiv
|
|
|
|
# Date created: 25 December 1998
|
|
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
1998-12-27 04:26:57 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-12-27 04:26:57 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= qiv
|
2004-09-01 03:55:30 +02:00
|
|
|
PORTVERSION= 2.0
|
2006-03-07 09:28:06 +01:00
|
|
|
PORTREVISION= 1
|
1998-12-27 04:26:57 +01:00
|
|
|
CATEGORIES= graphics
|
2000-11-02 23:08:29 +01:00
|
|
|
MASTER_SITES= http://www.klografx.net/qiv/download/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1998-12-27 04:26:57 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-02-11 22:03:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Small, fast GDK/Imlib image viewer
|
1998-12-27 04:26:57 +01:00
|
|
|
|
2004-09-01 03:55:30 +02:00
|
|
|
OPTIONS= XINERAMA "use multiple monitors (XFree86 4 and X.org only)" off
|
2003-07-14 04:53:03 +02:00
|
|
|
USE_GETOPT_LONG=yes
|
1999-08-21 22:50:41 +02:00
|
|
|
USE_GMAKE= yes
|
2002-09-03 04:46:49 +02:00
|
|
|
USE_GNOME= imlib
|
2004-02-17 03:21:39 +01:00
|
|
|
USE_X_PREFIX= yes
|
2000-11-02 23:08:29 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2000-10-05 08:57:56 +02:00
|
|
|
|
1998-12-27 04:26:57 +01:00
|
|
|
MAN1= qiv.1
|
2004-01-30 23:51:45 +01:00
|
|
|
PLIST_FILES= bin/qiv
|
1998-12-27 04:26:57 +01:00
|
|
|
|
2004-02-26 10:28:49 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-09-01 03:55:30 +02:00
|
|
|
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
|
|
|
|
.else
|
|
|
|
@${ECHO_MSG} compiling without Xinerama support
|
2004-02-26 10:28:49 +01:00
|
|
|
.endif
|
|
|
|
|
2000-02-13 00:31:59 +01:00
|
|
|
do-configure:
|
1998-12-27 04:26:57 +01:00
|
|
|
@ ${MV} ${WRKSRC}/qiv.1 ${WRKSRC}/qiv.1.pre_sed
|
|
|
|
@ ${SED} -e 's#\/usr\/bin#${PREFIX}/bin#g' \
|
2000-02-13 00:31:59 +01:00
|
|
|
${WRKSRC}/qiv.1.pre_sed > ${WRKSRC}/qiv.1
|
1999-08-21 22:50:41 +02:00
|
|
|
@ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
|
2000-02-13 00:31:59 +01:00
|
|
|
@ ${SED} -e 's#\/usr\/local#${PREFIX}#' \
|
|
|
|
-e 's#gcc#${CC}#' \
|
2003-07-14 04:53:03 +02:00
|
|
|
-e 's#-O2#${CPPFLAGS} ${CFLAGS}#' \
|
|
|
|
-e 's#libs-gdk`#libs-gdk` ${LDFLAGS}#' \
|
2000-02-13 00:31:59 +01:00
|
|
|
${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile
|
1998-12-27 04:26:57 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${PREFIX}/man/man1/
|
|
|
|
|
2004-02-26 10:28:49 +01:00
|
|
|
.include <bsd.port.post.mk>
|