Commit e8864c05 authored by mandree's avatar mandree
Browse files

devel/gettext-po-mode: New port to install po-mode files for emacs

-BEGIN pkg-descr---------------------------
GNU gettext is a framework of libraries and tools for internationalisation
and localisation of software.

This package contains the po-mode for the emacs editor.

WWW: https://www.gnu.org/software/gettext/
-END pkg-descr-----------------------------

This cannot be part of gettext-tools because it would create a
dependency loop through emacs (which we use to byte-compile).

In order to override the MAINTAINER, modify gettext/Makefile.common
to use MAINTAINER?= to accomodate overrides.

Next step: we should modularize up the emacs site-start.el.
Initial email sent to emacs@.
parent c55809b2
...@@ -793,6 +793,7 @@ ...@@ -793,6 +793,7 @@
SUBDIR += gettext SUBDIR += gettext
SUBDIR += gettext-lint SUBDIR += gettext-lint
SUBDIR += gettext-msghack SUBDIR += gettext-msghack
SUBDIR += gettext-po-mode
SUBDIR += gettext-runtime SUBDIR += gettext-runtime
SUBDIR += gettext-tools SUBDIR += gettext-tools
SUBDIR += gflags SUBDIR += gflags
......
# $FreeBSD$
PORTNAME= gettext-po-mode
PORTREVISION= 0
MAINTAINER= mandree@FreeBSD.org
COMMENT= GNU gettext po-mode for emacs
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/../COPYING
.include "${.CURDIR}/../gettext/Makefile.common"
BUILD_DEPENDS= libtextstyle>=${PORTVERSION}:devel/libtextstyle
LIB_DEPENDS= libtextstyle.so:devel/libtextstyle
USES= cpe emacs:build tar:xz
CPE_VENDOR= gnu
CPE_PRODUCT= gettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs --without-git ac_cv_lib_rt_sched_yield=no
INSTALL_TARGET= install
BUILD_WRKSRC= ${WRKSRC}/emacs
INSTALL_WRKSRC= ${BUILD_WRKSRC}
WRKSRC_SUBDIR= gettext-tools
PLIST_SUB= PORTVERSION=${PORTVERSION} VERSION=${PORTVERSION}
.include <bsd.port.mk>
GNU gettext is a framework of libraries and tools for internationalisation
and localisation of software.
This package contains the po-mode for the emacs editor.
WWW: https://www.gnu.org/software/gettext/
%%EMACS_SITE_LISPDIR%%/po-compat.el
%%EMACS_SITE_LISPDIR%%/po-compat.elc
%%EMACS_SITE_LISPDIR%%/po-mode.el
%%EMACS_SITE_LISPDIR%%/po-mode.elc
%%EMACS_SITE_LISPDIR%%/start-po.el
%%EMACS_SITE_LISPDIR%%/start-po.elc
...@@ -10,6 +10,6 @@ CATEGORIES= devel ...@@ -10,6 +10,6 @@ CATEGORIES= devel
MASTER_SITES= GNU/gettext MASTER_SITES= GNU/gettext
DISTNAME= gettext-${PORTVERSION} DISTNAME= gettext-${PORTVERSION}
MAINTAINER= tijl@FreeBSD.org MAINTAINER?= tijl@FreeBSD.org
DISTINFO_FILE= ${.CURDIR}/../gettext/distinfo DISTINFO_FILE= ${.CURDIR}/../gettext/distinfo
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment