blob: 82866c1db1ef08079796da306b726e4379e24e36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Created by: Vanilla Pooh Shu <vanilla@FreeBSD.org>
# $FreeBSD$
PORTNAME= gqview
PORTVERSION= 2.1.5
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/unstable/${PORTVERSION}
MAINTAINER= oliver@FreeBSD.org
COMMENT= Another gtk2-based graphic file viewer
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USES= pkgconfig
USE_GNOME= gnomehier gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
MAN1= gqview.1
CONFLICTS= gqview-1.4* gqview-2.0*
LATEST_LINK= gqview-devel
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
@${REINPLACE_CMD} -e 's| -r %F||' \
${WRKSRC}/gqview.desktop
post-install:
${MKDIR} ${PREFIX}/share/gnome/apps/Graphics
${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/pixmaps
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|