Changeset View
Changeset View
Standalone View
Standalone View
devel/git/Makefile
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | .if ${PORT_OPTIONS:MHTMLDOCS} | ||||
# extracted with --no-same-owner. If the distfile is extracted as a | # extracted with --no-same-owner. If the distfile is extracted as a | ||||
# non-root user then the symlink will have the incorrect owner. | # non-root user then the symlink will have the incorrect owner. | ||||
${RM} -f ${WRKDIR}/htmldocs/index.html | ${RM} -f ${WRKDIR}/htmldocs/index.html | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
(cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) | (cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) | ||||
${LN} -s git.html ${STAGEDIR}${DOCSDIR}/index.html | ${LN} -s git.html ${STAGEDIR}${DOCSDIR}/index.html | ||||
.endif | .endif | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git | ${MKDIR} ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/xemacs/site-lisp/git | |||||
${INSTALL_DATA} ${WRKSRC}/contrib/emacs/git.el \ | ${INSTALL_DATA} ${WRKSRC}/contrib/emacs/git.el \ | ||||
${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git/ | ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git/ | ||||
${INSTALL_DATA} ${WRKSRC}/contrib/emacs/git-blame.el \ | ${INSTALL_DATA} ${WRKSRC}/contrib/emacs/git-blame.el \ | ||||
${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git/ | ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git/ | ||||
${LN} -sf ${PREFIX}/share/emacs/site-lisp/git/git.el \ | |||||
${STAGEDIR}${PREFIX}/lib/xemacs/site-lisp/git/git.el | |||||
${LN} -sf ${PREFIX}/share/emacs/site-lisp/git/git-blame.el \ | |||||
${STAGEDIR}${PREFIX}/lib/xemacs/site-lisp/git/git-blame.el | |||||
.if ${PORT_OPTIONS:MCONTRIB} | .if ${PORT_OPTIONS:MCONTRIB} | ||||
@${ECHO_MSG} "===> Installing contributed scripts" | @${ECHO_MSG} "===> Installing contributed scripts" | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/git-core/contrib | ${MKDIR} ${STAGEDIR}${PREFIX}/share/git-core/contrib | ||||
${CP} -R ${WRKSRC}/contrib/* ${STAGEDIR}${PREFIX}/share/git-core/contrib | ${CP} -R ${WRKSRC}/contrib/* ${STAGEDIR}${PREFIX}/share/git-core/contrib | ||||
cd ${WRKSRC}/contrib/subtree && ${SETENV} ${MAKE_ENV} \ | cd ${WRKSRC}/contrib/subtree && ${SETENV} ${MAKE_ENV} \ | ||||
${MAKE_CMD} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} install install-doc | ${MAKE_CMD} ${MAKE_FLAGS} Makefile ${MAKE_ARGS} install install-doc | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MP4} | .if ${PORT_OPTIONS:MP4} | ||||
${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/ | ${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/ | ||||
.endif | .endif | ||||
post-stage: | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |