1998-10-27 17:56:41 +01:00
|
|
|
# New ports collection makefile for: gqview
|
1999-03-15 06:59:16 +01:00
|
|
|
# Date Created: 27 Oct 1998
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
|
1998-10-27 17:56:41 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-10-27 17:56:41 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= gqview
|
2005-06-08 11:04:15 +02:00
|
|
|
PORTVERSION= 2.0.1
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 1
|
1998-10-27 17:56:41 +01:00
|
|
|
CATEGORIES= graphics
|
2004-04-06 01:31:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1998-10-27 17:56:41 +01:00
|
|
|
|
2004-02-22 15:05:56 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
|
|
COMMENT= Another gtk2-based graphic file viewer
|
|
|
|
|
2004-02-22 15:10:10 +01:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
1998-10-27 17:56:41 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2004-03-01 19:12:20 +01:00
|
|
|
USE_GNOME= gnomehier gtk20
|
2005-02-27 00:54:04 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-04-18 02:24:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-03-01 19:12:20 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-01-27 11:07:38 +01:00
|
|
|
|
2001-03-17 16:24:52 +01:00
|
|
|
MAN1= gqview.1
|
|
|
|
|
2005-02-27 00:54:04 +01:00
|
|
|
CONFLICTS= gqview-devel-[0-9]*
|
|
|
|
|
2004-08-25 12:16:45 +02:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2005-02-27 00:54:04 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= README html
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$$prefix/share/doc/gqview-$$VERSION|${DOCSDIR}|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
|
2000-01-22 12:46:45 +01:00
|
|
|
post-install:
|
2004-03-01 19:12:20 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-22 15:05:56 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
1998-10-27 17:56:41 +01:00
|
|
|
|
2003-04-27 00:25:49 +02:00
|
|
|
.include <bsd.port.mk>
|