freebsd-ports/editors/psgml/Makefile
Boris Samorodov 3cb246682f Changes to editors/emacs and Mk/bsd.emacs.mk were taken from
PR/137956 by Ashish SHUKLA (thanks!).  [1]

Those ports which define EMACS_PORT_NAME to be "emacs21" were
not touched (this time). They may be converted to the new
world order by removing the above mentioned assignment.

Four ports were marked as BROKEN with EMACS_PORT_NAME=emacs23
(they do not compile):
. lang/bigloo;
. mail/wanderlust;
. mail/wanderlust-devel;
. www/emacs-w3m.

Three ports were marked as IGNORE with EMACS_PORT_NAME=emacs23:
. japanese/egg-canna (the port version is dated as of 2001,
  does not compile with Emacs 23 and seems it cannot be fixed);
. deskutils/remember.el (was incorporated into Emacs 23);
. editors/nxml (was incorporated into Emacs 23).

Changes that were made after (and as a result of) exp run. For
those ports:
. japanese/migemo-emacs21;
. japanese/migemo-emacs22
EMACS_PORT_NAME?= was changed to EMACS_PORT_NAME= to the apropriate
emacs port name.

PR:		ports/137956 [1], ports/141369 [2]
Submitted by:	Ashish SHUKLA <wahjava at gmail.com>  [1],
		bsam (me)  [2]
Exp-run by: miwi
2009-12-20 20:19:24 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: psgml for emacs
# Date created: 23 January 1999
# Whom: shige
#
# $FreeBSD$
#
PORTNAME= psgml
PORTVERSION= 1.3.2
PORTREVISION= 8
CATEGORIES= editors elisp
MASTER_SITES= SF/${PORTNAME}/ALPHA%20${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= hrs
PATCHFILES= psgml-symbol-conflict-050503.diff.gz
MAINTAINER?= hrs@FreeBSD.org
COMMENT= A major mode for editing SGML and XML documents for ${EMACS_PORT_NAME}
SUB_FILES= ${PSGML_STARTUPEL}
SUB_LIST= PSGML_LISPDIR=${PSGML_LISPDIR}
PLIST_SUB= PSGML_STARTUPEL=${PSGML_STARTUPEL}
NOT_FOR_ARCHS= ia64
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --lispdir=${PSGML_LISPDIR}
CONFIGURE_ENV= EMACS=${EMACS_CMD}
USE_EMACS= yes
INFO= psgml psgml-api
PSGML_STARTUPEL= psgml-startup.el
PSGML_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/psgml
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == xemacs21-mule
PLIST_SUB+= XEMACS="" \
NON_XEMACS="@comment "
.else
PLIST_SUB+= XEMACS="@comment " \
NON_XEMACS=""
.endif
post-install:
cd ${WRKSRC} && ${MAKE} install-info
${INSTALL_DATA} ${WRKDIR}/${PSGML_STARTUPEL} \
${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
.include <bsd.port.post.mk>