mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add bytecode build and change install dir to ${EMACS_SITE_LISPDIR}
This commit is contained in:
parent
aad320a860
commit
7fd7ac00cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163903
@ -7,28 +7,32 @@
|
||||
|
||||
PORTNAME= xml-lite.el
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc elisp
|
||||
MASTER_SITES= http://dogbiscuit.org/mdub/software/
|
||||
DISTNAME= ${PORTNAME}
|
||||
EXTRACT_SUFX= # empty
|
||||
EXTRACT_ONLY= # empty
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A simple XML-editing for GNU Emacs
|
||||
|
||||
USE_EMACS= yes
|
||||
EMACS_PORT_NAME?= emacs21
|
||||
EMACS_NO_BUILD_DEPENDS= YES
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
EXTRACT_CMD= ${CP}
|
||||
EXTRACT_BEFORE_ARGS=
|
||||
EXTRACT_AFTER_ARGS=${WRKSRC}/${PORTNAME}
|
||||
|
||||
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
|
||||
PLIST_FILES= %%EMACS_VERSION_SITE_LISPDIR%%/xml-lite.el
|
||||
PLIST_FILES= ${EMACS_SITE_LISPDIR}/${PORTNAME} \
|
||||
${EMACS_SITE_LISPDIR}/${PORTNAME}c
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile ${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${PREFIX}/${LISPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}c ${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
Loading…
Reference in New Issue
Block a user