Skip to content

Commit

Permalink
editors/poedit: moved manpages to share/man
Browse files Browse the repository at this point in the history
Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formating to make linters happy
  • Loading branch information
rosorio committed Feb 26, 2024
1 parent 0ba25d8 commit 1e374ee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
31 changes: 16 additions & 15 deletions editors/poedit/Makefile
@@ -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/

Expand All @@ -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>
2 changes: 1 addition & 1 deletion editors/poedit/pkg-plist
@@ -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
Expand Down

0 comments on commit 1e374ee

Please sign in to comment.