Install gzip'd lisp source files.

This commit is contained in:
Hiroki Sato 2016-11-04 18:58:33 +00:00
parent 0b1f54c586
commit e92897676c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425348
3 changed files with 13 additions and 11 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= psgml
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= editors elisp
MASTER_SITES= SF/${PORTNAME}/ALPHA%20${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@ -32,6 +33,7 @@ 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}

View File

@ -31,8 +31,8 @@
- echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
- $(INSTALL_DATA) $$p $(lispdir)/$$p; \
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p"; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \
+ $(INSTALL_DATA) `echo $$p | sed 's/elc$$/el/'` $(DESTDIR)$(lispdir)/`echo $$p | sed 's/elc$$/el/'` ; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \
done
- $(INSTALL_DATA) iso88591.map $(lispdir)
+ $(INSTALL_DATA) iso88591.map $(DESTDIR)$(lispdir)

View File

@ -1,22 +1,22 @@
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/iso88591.map
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-api.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-api.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-api.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-charent.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-charent.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-charent.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-dtd.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-dtd.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-dtd.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-edit.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-edit.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-edit.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-ids.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-ids.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-ids.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-info.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-info.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-info.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-other.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-other.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-other.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-parse.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-parse.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-parse.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-sysdep.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-sysdep.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml-sysdep.elc
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml.el
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml.el.gz
%%EMACS_VERSION_SITE_LISPDIR%%/psgml/psgml.elc
%%EMACS_VERSION_SITE_LISPDIR%%/%%PSGML_STARTUPEL%%