Lines 1-64
Link Here
|
1 |
# Created by: Hakisho Nukama <Nukama@gmail.com> |
1 |
# Created by: Hakisho Nukama <nukama@gmail.com> |
2 |
# $FreeBSD: editors/gummi/Makefile 337749 2013-12-27 16:54:21Z kwm $ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gummi |
4 |
PORTNAME= gummi |
5 |
PORTVERSION= 0.6.5 |
5 |
PORTVERSION= 0.6.5 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 1 |
7 |
CATEGORIES= editors |
7 |
CATEGORIES= editors |
8 |
MASTER_SITES= http://dev.midnightcoding.org/attachments/download/301/ |
8 |
MASTER_SITES= http://dev.midnightcoding.org/attachments/download/301/ |
9 |
|
9 |
|
10 |
MAINTAINER= nukama+maintainer@gmail.com |
10 |
MAINTAINER= nukama+maintainer@gmail.com |
11 |
COMMENT= Simple LaTex editor for GTK users |
11 |
COMMENT= Simple LaTex editor for GTK users |
12 |
|
12 |
|
13 |
LICENSE= MIT |
13 |
LICENSE= MIT |
14 |
|
14 |
|
15 |
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext |
15 |
BUILD_DEPENDS+= msgfmt:${PORTSDIR}/devel/gettext |
16 |
LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ |
16 |
LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ |
17 |
gtkspell:${PORTSDIR}/textproc/gtkspell |
17 |
libgtkspell.so:${PORTSDIR}/textproc/gtkspell |
18 |
|
18 |
|
19 |
USES= iconv gmake pkgconfig |
19 |
USES= iconv gmake pkgconfig desktop-file-utils |
20 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
21 |
USE_XORG= xdamage xft xcursor xcomposite |
21 |
USE_XORG= xdamage xft xcursor xcomposite |
22 |
USE_GNOME= desktopfileutils gtksourceview2 glib20 intlhack |
22 |
USE_GNOME= gtksourceview2 glib20 intlhack |
23 |
INSTALLS_ICONS= yes |
23 |
INSTALLS_ICONS= yes |
24 |
INSTALLS_OMF= yes |
24 |
INSTALLS_OMF= yes |
25 |
|
25 |
|
26 |
MAN1= gummi.1 |
26 |
OPTIONS_DEFINE= TETEX LATEXMK RUBBER TEXCOUNT |
27 |
|
|
|
28 |
OPTIONS_DEFINE= TETEX LATEXMK RUBBER TEXCOUNT |
29 |
OPTIONS_DEFAULT= TETEX |
27 |
OPTIONS_DEFAULT= TETEX |
30 |
|
28 |
|
31 |
TETEX_DESC= Use pdfetex typesetter |
29 |
TETEX_DESC= Use pdfetex typesetter |
32 |
LATEXMK_DESC= Use latexmk typesetter |
30 |
LATEXMK_DESC= Use latexmk typesetter |
33 |
RUBBER_DESC= Use rubber typesetter |
31 |
RUBBER_DESC= Use rubber typesetter |
34 |
TEXCOUNT_DESC= With texcount statistics |
32 |
TEXCOUNT_DESC= With texcount statistics |
35 |
|
33 |
|
36 |
NO_STAGE= yes |
|
|
37 |
.include <bsd.port.options.mk> |
38 |
|
39 |
.if ${PORT_OPTIONS:MNLS} |
40 |
USES+= gettext |
41 |
CONFIGURE_ARGS+= --enable-nls |
42 |
PLIST_SUB+= NLS="" |
43 |
.else |
44 |
CONFIGURE_ARGS+= --disable-nls |
34 |
CONFIGURE_ARGS+= --disable-nls |
45 |
PLIST_SUB+= NLS="@comment " |
35 |
PLIST_SUB+= NLS="@comment " |
46 |
.endif |
36 |
|
|
|
37 |
NLS_USES+= gettext |
38 |
NLS_CONFIGURE_ARGS+= --enable-nls |
39 |
NLS_PLIST_SUB+= NLS="" |
40 |
|
41 |
TETEX_RUN_DEPENDS+= pdfetex:${PORTSDIR}/print/teTeX-base |
42 |
|
43 |
LATEXMK_RUN_DEPENDS+= latexmk:${PORTSDIR}/print/latexmk |
44 |
|
45 |
RUBBER_RUN_DEPENDS+= rubber:${PORTSDIR}/textproc/rubber |
47 |
|
46 |
|
48 |
.if ${PORT_OPTIONS:MTETEX} |
47 |
TEXCOUNT_RUN_DEPENDS+= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount |
49 |
RUN_DEPENDS+= pdfetex:${PORTSDIR}/print/teTeX-base |
|
|
50 |
.endif |
51 |
|
52 |
.if ${PORT_OPTIONS:MLATEXMK} |
53 |
RUN_DEPENDS+= latexmk:${PORTSDIR}/print/latexmk |
54 |
.endif |
55 |
|
56 |
.if ${PORT_OPTIONS:MRUBBER} |
57 |
RUN_DEPENDS+= rubber:${PORTSDIR}/textproc/rubber |
58 |
.endif |
59 |
|
60 |
.if ${PORT_OPTIONS:MTEXCOUNT} |
61 |
RUN_DEPENDS+= ${LOCALBASE}/bin/texcount.${PORTVERSION}:${PORTSDIR}/texproc/p5-texcount |
62 |
.endif |
63 |
|
48 |
|
64 |
.include <bsd.port.mk> |
49 |
.include <bsd.port.mk> |