summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-02-16 17:22:13 +0000
committertaca <taca@pkgsrc.org>2010-02-16 17:22:13 +0000
commit8f05f91d1b43c954e51ca2705a1b4a9dcab5d26c (patch)
tree1f2b45d07ce3a9163e60f3043f2602f1d79deb10 /textproc
parent989ce884e8f00ce74531acce75f032b69dab5069 (diff)
downloadpkgsrc-8f05f91d1b43c954e51ca2705a1b4a9dcab5d26c.tar.gz
Importing po-mode 2.01 package.
This is PO(Portable Object) file editing mode for GNU emacs. It is included in GNU gettext package.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/po-mode/DESCR2
-rw-r--r--textproc/po-mode/Makefile34
-rw-r--r--textproc/po-mode/PLIST7
-rw-r--r--textproc/po-mode/distinfo5
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/po-mode/DESCR b/textproc/po-mode/DESCR
new file mode 100644
index 00000000000..a5c36bfac70
--- /dev/null
+++ b/textproc/po-mode/DESCR
@@ -0,0 +1,2 @@
+This is PO(Portable Object) file editing mode for GNU emacs.
+It is included in GNU gettext package.
diff --git a/textproc/po-mode/Makefile b/textproc/po-mode/Makefile
new file mode 100644
index 00000000000..77c94ce3b22
--- /dev/null
+++ b/textproc/po-mode/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/16 17:22:13 taca Exp $
+
+DISTNAME= gettext-0.14.6
+PKGNAME= po-mode-2.01
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
+EXTRACT_ELEMENTS= ${DISTNAME}/gettext-tools/misc
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/gettext/gettext.html
+COMMENT= PO(Portable Object) file editing mode for GNU emacs
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/gettext-tools/misc
+NO_CONFIGURE= YES
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS+= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/po-mode
+
+SRCS= po-compat.el po-mode.el start-po.el
+
+do-build:
+.for f in ${SRCS}
+ cd ${WRKSRC} && \
+ ${EMACS_BIN} --no-init-file --no-site-file -batch \
+ -f batch-byte-compile ${f}
+.endfor
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
+ ${DESTDIR}${EMACS_LISPPREFIX}/po-mode
+
+.include "../../editors/emacs/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/po-mode/PLIST b/textproc/po-mode/PLIST
new file mode 100644
index 00000000000..94d3635a358
--- /dev/null
+++ b/textproc/po-mode/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/16 17:22:13 taca Exp $
+${EMACS_LISPPREFIX}/po-mode/po-compat.el
+${EMACS_LISPPREFIX}/po-mode/po-compat.elc
+${EMACS_LISPPREFIX}/po-mode/po-mode.el
+${EMACS_LISPPREFIX}/po-mode/po-mode.elc
+${EMACS_LISPPREFIX}/po-mode/start-po.el
+${EMACS_LISPPREFIX}/po-mode/start-po.elc
diff --git a/textproc/po-mode/distinfo b/textproc/po-mode/distinfo
new file mode 100644
index 00000000000..1bc697aadc0
--- /dev/null
+++ b/textproc/po-mode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/02/16 17:22:13 taca Exp $
+
+SHA1 (gettext-0.14.6.tar.gz) = 0d8ce8d9a09a719065a1530399c4f45c15a002c5
+RMD160 (gettext-0.14.6.tar.gz) = 02138d12fd4d9ce0b3bda2d132f1569b30d16726
+Size (gettext-0.14.6.tar.gz) = 7102365 bytes