summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2014-06-11 13:31:27 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2014-06-11 13:31:27 +0000
commitc5a4777b9807eb5e249d83bb9f55eae725473d14 (patch)
tree68001c1553127c7ae60fdb9742c252270374cfa8
parentResurrect textproc/asm2html (with stage support), assign maintainer (diff)
- stagify the port
- add licence Submitted by: rodrigo Reviewed by: bapt (mentor) Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=357477
-rw-r--r--editors/poedit/Makefile13
-rw-r--r--editors/poedit/pkg-plist31
2 files changed, 12 insertions, 32 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index 54599463edeb..be8988900995 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -11,10 +11,12 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.4.6/
MAINTAINER= dhn@FreeBSD.org
COMMENT= Gettext catalogs (.po files) editor
+LICENSE= BSD2CLAUSE
+
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
+LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
-USES= gettext gmake pkgconfig
+USES= gettext gmake pkgconfig desktop-file-utils
USE_WX= 2.8+
WX_CONF_ARGS= absolute
WX_UNICODE= yes
@@ -24,17 +26,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= WXRC="${WXRC_CMD}"
INSTALLS_ICONS= yes
-MAN1= poedit.1
-
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's/for version in .*;/for version in ${BDB_VER};/ ; \
s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/poedit/pkg-plist b/editors/poedit/pkg-plist
index 137cb3752da0..acd751e47139 100644
--- a/editors/poedit/pkg-plist
+++ b/editors/poedit/pkg-plist
@@ -1,4 +1,5 @@
bin/poedit
+man/man1/poedit.1.gz
share/applications/poedit.desktop
share/icons/hicolor/16x16/apps/poedit.png
share/icons/hicolor/32x32/apps/poedit.png
@@ -146,29 +147,11 @@ share/pixmaps/poedit.png
@dirrm %%DATADIR%%/help/common
@dirrm %%DATADIR%%/help
@dirrm %%DATADIR%%
-@dirrmtry share/locale/ca@valencia/LC_MESSAGES
-@dirrmtry share/locale/ca@valencia
-@dirrmtry share/locale/uz/LC_MESSAGES
-@dirrmtry share/locale/uz
-@dirrmtry share/locale/vi/LC_MESSAGES
-@dirrmtry share/locale/vi
-@dirrmtry share/locale/tt/LC_MESSAGES
-@dirrmtry share/locale/tt
-@dirrmtry share/locale/sq_AL/LC_MESSAGES
-@dirrmtry share/locale/sq_AL
-@dirrmtry share/locale/kk/LC_MESSAGES
-@dirrmtry share/locale/kk
-@dirrmtry share/locale/ky/LC_MESSAGES
-@dirrmtry share/locale/ky
-@dirrmtry share/locale/ku/LC_MESSAGES
-@dirrmtry share/locale/ku
-@dirrmtry share/locale/fur/LC_MESSAGES
-@dirrmtry share/locale/fur
-@dirrmtry share/locale/es_PR/LC_MESSAGES
-@dirrmtry share/locale/es_PR
-@dirrmtry share/locale/be@latin/LC_MESSAGES
-@dirrmtry share/locale/be@latin
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
@dirrmtry share/locale/af_ZA/LC_MESSAGES
@dirrmtry share/locale/af_ZA
+@dirrmtry share/locale/es_PR/LC_MESSAGES
+@dirrmtry share/locale/es_PR
+@dirrmtry share/locale/fur/LC_MESSAGES
+@dirrmtry share/locale/fur
+@dirrmtry share/locale/sq_AL/LC_MESSAGES
+@dirrmtry share/locale/sq_AL