mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add staging support
- Convert to new options framework
This commit is contained in:
parent
b58167b290
commit
6b1e4aa709
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364134
@ -17,27 +17,16 @@ PORTDOCS= README.TXT TODO NEWS ChangeLog
|
||||
ELISPDIR= ${PREFIX}/share/emacs/site-lisp
|
||||
XELISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${MKDIR} ${ELISPDIR} ${XELISPDIR}
|
||||
(cd ${WRKSRC} && \
|
||||
for f in xslide.el \
|
||||
xslide-abbrev.el \
|
||||
xslide-data.el \
|
||||
xslide-font.el \
|
||||
xslide-initial.xsl \
|
||||
xslide-process.el; \
|
||||
do \
|
||||
${INSTALL_DATA} $$f ${ELISPDIR}; \
|
||||
${LN} -sf ${ELISPDIR}/$$f ${XELISPDIR}; \
|
||||
done;)
|
||||
.ifndef NOPORTDOCS
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${ELISPDIR} ${STAGEDIR}${XELISPDIR}
|
||||
.for f in xslide.el xslide-abbrev.el xslide-data.el xslide-font.el \
|
||||
xslide-initial.xsl xslide-process.el
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ELISPDIR}
|
||||
${LN} -sf ${ELISPDIR}/${f} ${STAGEDIR}${XELISPDIR}
|
||||
.endfor
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user