mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# New ports collection makefile for: qiv
|
|
# Date created: 25 December 1998
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
#
|
|
# $Carpetsmoker: ports/graphics/qiv/Makefile,v 1.2 2008/01/26 15:24:30 carpetsmoker Exp $
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qiv
|
|
PORTVERSION= 2.1.p12
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.klografx.net/qiv/download/ \
|
|
http://www.carpetsmoker.net/distfiles/ \
|
|
http://www.xs4all.nl/~tournoij/distfiles/ \
|
|
http://www.rwxrwxrwx.net/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.p12/-pre12/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= carpetsmoker@xs4all.nl
|
|
COMMENT= Small, fast GDK/Imlib image viewer
|
|
|
|
OPTIONS= XINERAMA "use multiple monitors" off
|
|
USE_GMAKE= yes
|
|
USE_GNOME= imlib
|
|
|
|
MAN1= qiv.1
|
|
PLIST_FILES= bin/qiv
|
|
USE_XORG+= x11 xinerama
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure:
|
|
.if ! defined(WITH_XINERAMA)
|
|
.else
|
|
@${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
do-configure:
|
|
@${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
|
|
@${REINPLACE_CMD} 's|\|GDK_WA_WMCLASS||' \
|
|
${WRKSRC}/image.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${MAN1PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.post.mk>
|