# Created by: Jason Bacon # $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 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