1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/editors/psgml/Makefile
Hiroki Sato 8402b7a610 - Fix broken patches.
- Remove obsolete xemacs support.

- Bump version number to 1.4.0 to avoid possible misunderstandings.
  Major Linux distributions have adopted an unofficial version
  labeled as 1.4.0 which includes fixes for Emacs 24.x while the
  official distfile is still 1.3.2.  There is no substantial
  difference between 1.3.2 and 1.4.0 except for Emacs 24.x compatibility,
  and this FreeBSD port has already had almost the same changes.
  Although similar unofficial versions can be found at [1] or [2],
  they look inconsistent and/or not actively maintained.  The official
  distfile is used for this reason.

[1] http://www.fsavigny.de/gpled-software/psgml-1.4.0.tar.gz
[2] https://marmalade-repo.org/packages/psgml
2015-11-12 07:09:05 +00:00

39 lines
1020 B
Makefile

# Created by: Shigeyuki Fukushima <shige@FreeBSD.org>
# $FreeBSD$
PORTNAME= psgml
PORTVERSION= 1.4.0
CATEGORIES= editors elisp
MASTER_SITES= SF/${PORTNAME}/ALPHA%20${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
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
USE_EMACS= yes
NOT_FOR_ARCHS= ia64
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
${INSTALL_DATA} ${WRKDIR}/${PSGML_STARTUPEL} \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
.include <bsd.port.mk>