34 lines
918 B
Makefile
34 lines
918 B
Makefile
# $NetBSD: Makefile,v 1.17 2007/09/13 22:21:42 wiz Exp $
|
|
|
|
DISTNAME= psgml-1.3.2
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/-/-mode-/}
|
|
PKGREVISION= 3
|
|
CATEGORIES= textproc editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psgml/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.lysator.liu.se/~lenst/about_psgml/
|
|
COMMENT= SGML/XML mode for Emacs
|
|
|
|
EMACS_MODULES+= base
|
|
|
|
.include "../../mk/emacs.mk"
|
|
|
|
.if ${EMACS_FLAVOR} != "emacs"
|
|
BUILD_TARGET= xemacs
|
|
.endif
|
|
|
|
INFO_FILES= # PLIST
|
|
INSTALLATION_DIRS+= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/psgml-mode
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.el *.elc \
|
|
${EMACS_LISPPREFIX:Q}/psgml-mode
|
|
${INSTALL_DATA} ${WRKSRC:Q}/iso88591.map \
|
|
${EMACS_LISPPREFIX:Q}/psgml-mode
|
|
cd ${WRKSRC:Q}; for f in *.info *.info-[0-9]*; do \
|
|
${TEST} ! -f "$$f" || \
|
|
${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX:Q}; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|