Bump graphics/vips to version 8.3.3_1
[dports.git] / graphics / cbrpager / Makefile
1 # Created by: ijliao
2 # $FreeBSD$
3
4 PORTNAME=       cbrpager
5 PORTVERSION=    0.9.22
6 PORTREVISION=   5
7 CATEGORIES=     graphics
8 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
9                 SF/nemysisfreebsdp/${CATEGORIES}/:icons
10 DISTFILES=      ${DISTNAME}${EXTRACT_SUFX} \
11                 ${PORTNAME}.png:icons
12 EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}
13
14 MAINTAINER=     ports@FreeBSD.org
15 COMMENT=        Viewer for cbr (comic book archive) files
16
17 LICENSE=        GPLv3
18
19 USES=           pkgconfig
20 GNU_CONFIGURE=  yes
21 USE_GNOME=      libgnomeui
22
23 CPPFLAGS+=      -I${LOCALBASE}/include
24 LDFLAGS+=       -L${LOCALBASE}/lib
25
26 OPTIONS_DEFINE= NLS
27 OPTIONS_SUB=    yes
28
29 NLS_USES=       gettext
30
31 PLIST_FILES=    bin/${PORTNAME} \
32                 share/pixmaps/${PORTNAME}.png \
33                 %%NLS%%share/locale/es/LC_MESSAGES/${PORTNAME}.mo \
34                 %%NLS%%share/locale/fr/LC_MESSAGES/${PORTNAME}.mo
35
36 DESKTOP_ENTRIES="cbrPager" "Comic book viewer" "${PORTNAME}" \
37                 "${PORTNAME}" "Graphics;Viewer;GNOME;" ""
38
39 .include <bsd.port.options.mk>
40
41 post-configure:
42 .if ! ${PORT_OPTIONS:MNLS}
43         @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
44 .endif
45
46 post-install:
47         ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
48                 ${STAGEDIR}${PREFIX}/share/pixmaps/
49
50 .include <bsd.port.mk>