freebsd-ports/editors/psgml/Makefile
Joseph Mingrone 061afcca16
USES=emacs: Chase package name changes
PR:		259259
Differential Revision:	https://reviews.freebsd.org/D32613
2021-11-15 11:19:58 -04:00

39 lines
1 KiB
Makefile

# Created by: Shigeyuki Fukushima <shige@FreeBSD.org>
PORTNAME= psgml
PORTVERSION= 1.4.0
PORTREVISION= 13
CATEGORIES= editors elisp
MASTER_SITES= SF/${PORTNAME}/ALPHA%20${PORTNAME}/1.3.2
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}-1.3.2
PATCH_SITES= LOCAL/hrs
PATCHFILES= psgml-symbol-conflict-050503.diff.gz
MAINTAINER= hrs@FreeBSD.org
COMMENT= Major mode for editing SGML and XML documents for Emacs
LICENSE= GPLv2
USES= emacs
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --lispdir=${PSGML_LISPDIR}
CONFIGURE_ENV= EMACS=${EMACS_CMD}
SUB_FILES= ${PSGML_STARTUPEL}
SUB_LIST= PSGML_LISPDIR=${PSGML_LISPDIR}
PLIST_SUB= PSGML_STARTUPEL=${PSGML_STARTUPEL}
INFO= psgml psgml-api
PSGML_STARTUPEL= psgml-startup.el
PSGML_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/psgml
post-install:
cd ${WRKSRC} && ${SETENV} DESTDIR="${STAGEDIR}" ${MAKE} install-info
${GZIP_CMD} ${STAGEDIR}${PSGML_LISPDIR}/*.el
${INSTALL_DATA} ${WRKDIR}/${PSGML_STARTUPEL} \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
.include <bsd.port.mk>