|
Lines 2-7
Link Here
|
| 2 |
|
2 |
|
| 3 |
PORTNAME= mousepad |
3 |
PORTNAME= mousepad |
| 4 |
PORTVERSION= 0.5.5 |
4 |
PORTVERSION= 0.5.5 |
|
|
5 |
PORTREVISION= 1 |
| 5 |
CATEGORIES= editors xfce |
6 |
CATEGORIES= editors xfce |
| 6 |
MASTER_SITES= XFCE/apps |
7 |
MASTER_SITES= XFCE/apps |
| 7 |
DIST_SUBDIR= xfce4 |
8 |
DIST_SUBDIR= xfce4 |
|
Lines 12-22
COMMENT= Simple text editor for the Xfce Desktop
Link Here
|
| 12 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
| 13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 14 |
|
15 |
|
|
|
16 |
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz |
| 17 |
|
| 15 |
USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \ |
18 |
USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \ |
| 16 |
pkgconfig tar:bzip2 xfce |
19 |
pkgconfig tar:bzip2 xfce |
| 17 |
USE_GNOME= cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intlhack \ |
20 |
USE_GNOME= cairo dconf gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool |
| 18 |
intltool |
|
|
| 19 |
USE_XFCE= xfconf |
| 20 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
| 21 |
|
22 |
|
| 22 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
|
Lines 24-33
INSTALL_TARGET= install-strip
Link Here
|
| 24 |
|
25 |
|
| 25 |
GLIB_SCHEMAS= org.xfce.mousepad.gschema.xml |
26 |
GLIB_SCHEMAS= org.xfce.mousepad.gschema.xml |
| 26 |
|
27 |
|
| 27 |
OPTIONS_DEFINE= NLS |
28 |
OPTIONS_DEFINE= NLS SPELL |
| 28 |
OPTIONS_SUB= yes |
29 |
OPTIONS_SUB= yes |
| 29 |
|
30 |
|
|
|
31 |
SPELL_DESC= Spell checking plugin |
| 32 |
|
| 30 |
NLS_CONFIGURE_ENABLE= nls |
33 |
NLS_CONFIGURE_ENABLE= nls |
| 31 |
NLS_USES= gettext-runtime |
34 |
NLS_USES= gettext-runtime |
| 32 |
|
35 |
|
|
|
36 |
SPELL_CONFIGURE_ENABLE= plugin-gspell |
| 37 |
SPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell \ |
| 38 |
libenchant-2.so:textproc/enchant2 |
| 39 |
SPELL_SUB_FILES= pkg-message |
| 40 |
|
| 41 |
.include <bsd.port.options.mk> |
| 42 |
|
| 43 |
.if ${PORT_OPTIONS:MSPELL} |
| 44 |
GLIB_SCHEMAS+= org.xfce.mousepad.plugins.gspell.gschema.xml |
| 45 |
.endif |
| 46 |
|
| 47 |
post-patch-SPELL-on: |
| 48 |
@${REINPLACE_CMD} -i '' -e 's|en_US||' \ |
| 49 |
${WRKSRC}/plugins/gspell-plugin/org.xfce.mousepad.plugins.gspell.gschema.xml |
| 50 |
|
| 33 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.mk> |