mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add staging support
- Remove leading article from COMMENT
This commit is contained in:
parent
173c233a9e
commit
71653085b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350477
1 changed files with 7 additions and 13 deletions
|
@ -11,31 +11,25 @@ MASTER_SITES= SF/emhacks/${PORTNAME}/${PORTVERSION} \
|
|||
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A tree widget for Emacs
|
||||
COMMENT= Tree widget for Emacs
|
||||
|
||||
USE_EMACS= yes
|
||||
|
||||
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
||||
LISPDIR= ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
||||
NO_WRKSUBDIR= yes
|
||||
THEMES_SUBDIR= default folder
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
cd ${WRKSRC}; ${EMACS_NAME} -batch -no-site-file\
|
||||
--eval="(add-to-list 'load-path \"${WRKSRC}\")"\
|
||||
-f batch-byte-compile *.el
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${LISPDIR}
|
||||
.for i in *.el *.elc
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
||||
.endfor
|
||||
${MKDIR} ${LISPDIR}/tree-widget-themes
|
||||
.for i in ${THEMES_SUBDIR}
|
||||
${MKDIR} ${LISPDIR}/tree-widget-themes/${i}
|
||||
${INSTALL_DATA} ${WRKSRC}/tree-widget-themes/${i}/*\
|
||||
${LISPDIR}/tree-widget-themes/${i}
|
||||
.endfor
|
||||
@${MKDIR} ${LISPDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} *.el *.elc ${LISPDIR})
|
||||
@${MKDIR} ${LISPDIR}/tree-widget-themes
|
||||
(cd ${WRKSRC}/tree-widget-themes && ${COPYTREE_SHARE} "${THEMES_SUBDIR}" \
|
||||
${LISPDIR}/tree-widget-themes)
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue