pkgsrc-wip/rst-mode/Makefile
Aleksej Saushev 6e302ef136 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-10-07 14:53:42 +00:00

29 lines
751 B
Makefile

# $NetBSD: Makefile,v 1.4 2012/10/07 14:53:44 asau Exp $
#
DISTNAME= rst
PKGNAME= rst-mode-0.6
CATEGORIES= editors
MASTER_SITES= http://docutils.sourceforge.net/tools/editors/emacs/
EXTRACT_SUFX= .el
MAINTAINER= pho@cielonegro.org
HOMEPAGE= http://docutils.sourceforge.net/docs/user/emacs.html
COMMENT= Emacs mode for reStructuredText documents
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
NO_CONFIGURE=YES
do-build:
cd ${WRKSRC} \
&& ${EMACS_BIN} -batch -f batch-byte-compile rst.el
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
${INSTALL_DATA} ${WRKSRC}/*.el ${DESTDIR}${EMACS_LISPPREFIX}
${INSTALL_DATA} ${WRKSRC}/*.elc ${DESTDIR}${EMACS_LISPPREFIX}
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"