mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
037a3b5bf9
USES=tar:xz. Approved by: portmgr (most of them)
39 lines
1.0 KiB
Makefile
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>
|