editors/poedit: moved manpages to share/man

Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formating to make linters happy
This commit is contained in:
Rodrigo Osorio 2024-02-26 23:36:52 +01:00
parent 0ba25d8c56
commit 1e374ee61f
2 changed files with 17 additions and 16 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= poedit
PORTVERSION= 3.3.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= editors
MASTER_SITES= https://github.com/vslavik/${PORTNAME}/releases/download/v${PORTVERSION}-oss/
@ -11,30 +11,31 @@ WWW= https://www.poedit.net/
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= zip:archivers/zip
LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 \
libboost_thread.so:devel/boost-libs \
libicui18n.so:devel/icu \
liblucene++.so:textproc/luceneplusplus \
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libenchant-2.so:textproc/enchant2 \
libharfbuzz.so:print/harfbuzz
libgtkspell3-3.so:textproc/gtkspell3 \
libharfbuzz.so:print/harfbuzz \
libicui18n.so:devel/icu \
liblucene++.so:textproc/luceneplusplus
USES= bdb compiler:c++11-lib desktop-file-utils gmake gnome \
pkgconfig
USES= bdb compiler:c++11-lib desktop-file-utils gmake \
gnome pkgconfig
WITH_BDB_HIGHEST= yes
USE_GNOME+= gtk30 pango cairo gdkpixbuf2 glib20
USE_WX= 3.0
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
USE_GNOME+= cairo gdkpixbuf2 glib20 gtk30 pango
USE_WX= 3.0
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
## -stdlib=libc++
LDFLAGS+= -lpthread -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB=yes
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
bin/poedit
man/man1/poedit.1.gz
share/man/man1/poedit.1.gz
share/applications/net.poedit.Poedit.desktop
share/applications/net.poedit.PoeditURI.desktop
share/icons/hicolor/128x128/apps/net.poedit.Poedit.png