* README now gives a quick into to using mr. * Brought back the "deleted" parameter, which provides an easy way to mark repositories that should be removed. * Allow untrusted mrconfig files to set parameters to true/false. So skip=true or deleted=true can be used in an untrusted mrconfig file. * Also allow order=N in an untrusted mrconfig file. * Support bzr checkouts, which are updated with "bzr update", and to which bzr automatically pushes commits. Closes: #643589 * Use bzr branch, not deprecated bzr clone when registering bzr repositories. Closes: #643591 * Allow bzr branch|clone|get|checkout in untrusted mrconfig files. * Avoid using sed -r in git-fake-bare, for OSX portability. * git-fake-bare: handle fake bare repositories with core.bare not set (Thanks, Julien Rebetez)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2011/10/09 12:45:31 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= mr_1.05
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/m/mr/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://kitenet.net/~joey/code/mr/
|
|
COMMENT= Treat multiple repositories as one combined repository
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
|
|
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
|
|
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
REPLACE_PERL+= mr webcheckout
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
SHAREDIR= ${PREFIX}/share/${PKGBASE}
|
|
INSTALLATION_DIRS= bin ${EGDIR} ${SHAREDIR}
|
|
|
|
do-install:
|
|
set -e; cd ${WRKSRC}; \
|
|
${INSTALL_DATA} mrconfig ${DESTDIR}${EGDIR}; \
|
|
${INSTALL_DATA} mrconfig.complex ${DESTDIR}${EGDIR}; \
|
|
for i in lib/*; do \
|
|
${INSTALL_DATA} $${i} ${DESTDIR}${SHAREDIR}; \
|
|
done; \
|
|
${INSTALL_SCRIPT} mr ${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_SCRIPT} webcheckout ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|