1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/graphics/qiv/Makefile
Alexander Leidinger d16f7bfb92 Reset maintainership to ports@ after ~4 months without any response to any
PR.

Thanks for contributing.

Since the acroread7 port is a somewhat important port for our users, I
will hand it over to emulation@ if no _active_ *committer* takes it
before the ports freeze.

While I'm here:
 - fix a little nit in the csound port (I think the intention was to
   create no backup file instead of creating one with a "-e" extension)
 - set ARCH to i386 in the amd64 case for the acroread7 port. This
   is a work-around to be able to install everything when a dependency
   is not already installed (ARCH is read-only in sub-makes, so the
   dependencies can't change it). This should be removed when the
   dependencies are fixed or converted to use bsd.linux-rpm.mk. [1]

Not objected to by:	portmgr (explicit: krion; silence: rest)
Maintainer timeout:	~4 months
Submitted by:		Sangwoo Shim <sangwoos@gmail.com> [1]
PR:			87985 [1]
2006-02-11 21:03:14 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: qiv
# Date created: 25 December 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#
PORTNAME= qiv
PORTVERSION= 2.0
CATEGORIES= graphics
MASTER_SITES= http://www.klografx.net/qiv/download/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Small, fast GDK/Imlib image viewer
OPTIONS= XINERAMA "use multiple monitors (XFree86 4 and X.org only)" 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
.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
.else
@${ECHO_MSG} compiling without Xinerama support
.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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${PREFIX}/man/man1/
.include <bsd.port.post.mk>