pkgsrc/textproc/po-mode/Makefile
taca 81c4789c09 Update po-mode to 2.2.
Changes are too many to write here, please refer ChageLog in distfiles.
2010-09-16 14:46:04 +00:00

34 lines
949 B
Makefile

# $NetBSD: Makefile,v 1.2 2010/09/16 14:46:04 taca Exp $
DISTNAME= gettext-0.18.1.1
PKGNAME= po-mode-2.2
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"