summaryrefslogtreecommitdiff
path: root/textproc/psgml-mode/Makefile
blob: dba86a331ce70be5e02475b45e94726a04295b9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.20 2009/08/06 01:44:56 minskim Exp $

DISTNAME=		psgml-1.3.2
PKGNAME=		${EMACS_PKGNAME_PREFIX}${DISTNAME:S/-/-mode-/}
PKGREVISION=		4
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

PKG_DESTDIR_SUPPORT=	user-destdir

EMACS_MODULES+=		base

.include "../../editors/emacs/modules.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			\
		${DESTDIR}${EMACS_LISPPREFIX:Q}/psgml-mode
	${INSTALL_DATA} ${WRKSRC:Q}/iso88591.map			\
		${DESTDIR}${EMACS_LISPPREFIX:Q}/psgml-mode
	cd ${WRKSRC:Q}; for f in *.info *.info-[0-9]*; do		\
		${TEST} ! -f "$$f" ||					\
		${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX:Q};	\
	done

.include "../../mk/bsd.pkg.mk"