1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/desktop-installer/Makefile
Adam Weinberger 037a3b5bf9 Remove the final usages of USE_XZ from the tree, and replace them with
USES=tar:xz.

Approved by:	portmgr (most of them)
2014-07-29 21:25:30 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Jason Bacon <jwbacon@tds.net>
# $FreeBSD$
PORTNAME= desktop-installer
PORTVERSION= 0.4.6
CATEGORIES= sysutils
MASTER_SITES= http://acadix.biz/Ports/distfiles/ \
http://personalpages.tds.net/~jwbacon/Ports/distfiles/
MAINTAINER= jwbacon@tds.net
COMMENT= Quickly configure a FreeBSD desktop system
LICENSE= BSD
RUN_DEPENDS= auto-admin>=0.3.3:${PORTSDIR}/sysutils/auto-admin
USES= tar:xz
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/Doc/${PORTNAME}.man \
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
${MKDIR} ${STAGEDIR}${DATADIR}
${CP} -r ${WRKSRC}/Data/* ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}/Scripts
${INSTALL_SCRIPT} ${WRKSRC}/Scripts/* ${STAGEDIR}${DATADIR}/Scripts
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} 's|/etc/mtree|$${PORTSDIR=/usr/ports}/Templates|' \
${WRKSRC}/${PORTNAME}
${REINPLACE_CMD} \
's|DATADIR=Data|DATADIR=${STAGEDIR}${PREFIX}/share/desktop-installer|g' \
${WRKSRC}/desktop-installer
.include <bsd.port.post.mk>