freebsd-ports/graphics/gqview/Makefile

59 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gqview
1999-03-15 06:59:16 +01:00
# Date Created: 27 Oct 1998
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
1999-08-25 08:16:32 +02:00
# $FreeBSD$
#
PORTNAME= gqview
2005-06-08 11:04:15 +02:00
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= graphics
2004-04-06 01:31:12 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
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
USE_X_PREFIX= yes
USE_GNOME= gnomehier gtk20
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2001-03-17 16:24:52 +01:00
MAN1= gqview.1
CONFLICTS= gqview-devel-[0-9]*
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.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
post-install:
${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>