999db9eada
- Add (Ubuntu) yakkety as a symlink to gutsy PR: 209243 Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
39 lines
933 B
Makefile
39 lines
933 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= debootstrap
|
|
PORTVERSION= 1.0.81
|
|
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= MIT
|
|
LICENSE_FILE= ${WRKSRC}/debian/copyright
|
|
|
|
RUN_DEPENDS= wget:ftp/wget
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USES= gmake perl5
|
|
USE_PERL5= run
|
|
|
|
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>
|