freebsd-ports/sysutils/debootstrap/Makefile
Dmitry Marakasov 2b7ad9ca54 - Update to 1.0.70
PR:		201047
Submitted by:	lifanov@mail.lifanov.com (maintainer)
2015-06-25 10:01:07 +00:00

39 lines
931 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= debootstrap
PORTVERSION= 1.0.70
CATEGORIES= sysutils
MASTER_SITES= DEBIAN/pool/main/d/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lifanov@mail.lifanov.com
COMMENT= Install Debian base system into a directory
LICENSE= GPLv2
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
NO_BUILD= yes
NO_ARCH= yes
USES= gmake perl5
USE_PERL5= run
MAKE_ARGS= DESTDIR="${STAGEDIR}"
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Debian GNU/kFreeBSD available only for i386 and amd64
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/Makefile \
${WRKSRC}/debootstrap
@${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},g' \
${WRKSRC}/Makefile \
${WRKSRC}/debootstrap
post-install:
${INSTALL_MAN} ${WRKSRC}/debootstrap.8 \
${STAGEDIR}${MAN8PREFIX}/man/man8/debootstrap.8
.include <bsd.port.mk>