2014-06-16 09:42:21 +02:00
|
|
|
# Created by: vanilla@
|
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
|
2006-12-12 21:30:06 +01:00
|
|
|
PORTVERSION= 2.0.4
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 15
|
1998-10-27 17:56:41 +01:00
|
|
|
CATEGORIES= graphics
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF
|
1998-10-27 17:56:41 +01:00
|
|
|
|
2007-07-12 20:52:00 +02:00
|
|
|
MAINTAINER= lme@FreeBSD.org
|
2004-02-22 15:05:56 +01:00
|
|
|
COMMENT= Another gtk2-based graphic file viewer
|
|
|
|
|
2014-12-25 20:04:25 +01:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
1998-10-27 17:56:41 +01:00
|
|
|
|
2013-09-02 23:04:00 +02:00
|
|
|
USES= pkgconfig
|
2014-12-21 01:16:45 +01:00
|
|
|
USE_GNOME= gtk20
|
2000-04-18 02:24:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-08-26 16:06:08 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib -lm
|
2004-01-27 11:07:38 +01:00
|
|
|
|
2009-04-11 14:08:29 +02:00
|
|
|
# Restrict to stable (even) versions, indicated by the second component.
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
|
2014-02-21 14:37:15 +01:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
USES+= gettext
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
2004-08-25 12:16:45 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2005-02-27 00:54:04 +01:00
|
|
|
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
|
2008-05-20 19:44:19 +02:00
|
|
|
@${REINPLACE_CMD} -e 's| -r %F||' \
|
|
|
|
${WRKSRC}/gqview.desktop
|
2014-07-04 02:09:47 +02:00
|
|
|
.if empty(PORT_OPTIONS:MDOCS)
|
2008-06-29 20:23:56 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|doc$$||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2005-02-27 00:54:04 +01:00
|
|
|
|
2000-01-22 12:46:45 +01:00
|
|
|
post-install:
|
2014-06-16 09:42:21 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gqview.png ${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
1998-10-27 17:56:41 +01:00
|
|
|
|
2003-04-27 00:25:49 +02:00
|
|
|
.include <bsd.port.mk>
|