mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add staging support
- Convert to new options framework
This commit is contained in:
parent
a5b17ac5e5
commit
e9172ee1c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356652
@ -19,29 +19,27 @@ NO_BUILD= yes
|
|||||||
ELISPDIR= ${PREFIX}/share/emacs/site-lisp
|
ELISPDIR= ${PREFIX}/share/emacs/site-lisp
|
||||||
SITEPKGDIR= ${PREFIX}/lib/xemacs/site-packages
|
SITEPKGDIR= ${PREFIX}/lib/xemacs/site-packages
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
(cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog prom-wl-usage.jis \
|
||||||
@(cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog \
|
${STAGEDIR}${DOCSDIR})
|
||||||
prom-wl-usage.jis \
|
(cd ${FILESDIR}; ${INSTALL_SCRIPT} byte-compile ${STAGEDIR}${DOCSDIR})
|
||||||
${DOCSDIR}/)
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
@(cd ${FILESDIR}; ${INSTALL_SCRIPT} byte-compile ${DOCSDIR}/)
|
(cd ${FILESDIR} ; ${INSTALL_DATA} dot.emacs dot.procmailrc \
|
||||||
.endif
|
${STAGEDIR}${EXAMPLESDIR})
|
||||||
|
@${MKDIR} ${STAGEDIR}${ELISPDIR}
|
||||||
.if !defined(NOPORTEXAMPLES)
|
(cd ${WRKSRC}; ${INSTALL_DATA} prom-wl.el ${STAGEDIR}${ELISPDIR})
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
|
||||||
@(cd ${FILESDIR} ; ${INSTALL_DATA} dot.emacs dot.procmailrc \
|
|
||||||
${EXAMPLESDIR}/)
|
|
||||||
.endif
|
|
||||||
|
|
||||||
@${MKDIR} ${ELISPDIR}
|
|
||||||
@(cd ${WRKSRC}; ${INSTALL_DATA} prom-wl.el ${ELISPDIR}/)
|
|
||||||
|
|
||||||
# For xemacs package install configuration
|
# For xemacs package install configuration
|
||||||
@${MKDIR} ${SITEPKGDIR}/lisp/prom-wl ${SITEPKGDIR}/pkginfo
|
@${MKDIR} ${STAGEDIR}${SITEPKGDIR}/lisp/prom-wl
|
||||||
@${LN} -sf ${ELISPDIR}/prom-wl.el ${SITEPKGDIR}/lisp/prom-wl/prom-wl.el
|
@${MKDIR} ${STAGEDIR}${SITEPKGDIR}/pkginfo
|
||||||
@${ECHO_CMD} 'pkginfo/MANIFEST.prom-wl' > ${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl
|
@${LN} -sf ${ELISPDIR}/prom-wl.el \
|
||||||
@${ECHO_CMD} 'lisp/prom-wl/prom-wl.el' >> ${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl
|
${STAGEDIR}${SITEPKGDIR}/lisp/prom-wl/prom-wl.el
|
||||||
|
@${ECHO_CMD} 'pkginfo/MANIFEST.prom-wl' > \
|
||||||
|
${STAGEDIR}${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl
|
||||||
|
@${ECHO_CMD} 'lisp/prom-wl/prom-wl.el' >> \
|
||||||
|
${STAGEDIR}${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user