mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
7ffa735755
PR: ports/157508 Submitted by: Jason Bacon <jwbacon@tds.net> (maintainer)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: desktop-installer
|
|
# Date created: 2009-12-29
|
|
# Whom: Jason Bacon <jwbacon@tds.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= desktop-installer
|
|
PORTVERSION= 0.3.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
|
|
http://jbacon.dyndns.org/~bacon/Ports/distfiles/
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
|
COMMENT= Quickly configure a FreeBSD desktop system
|
|
|
|
NO_BUILD= yes
|
|
|
|
MAN1= ${PORTNAME}.1 amd-setup.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/amd-setup ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/Doc/${PORTNAME}.man \
|
|
${PREFIX}/man/man1/${PORTNAME}.1
|
|
${INSTALL_MAN} ${WRKSRC}/Doc/amd-setup.man \
|
|
${PREFIX}/man/man1/amd-setup.1
|
|
${MKDIR} ${DATADIR}
|
|
${CP} -r ${WRKSRC}/Data/* ${DATADIR}
|
|
${MKDIR} ${DATADIR}/Scripts
|
|
${INSTALL_SCRIPT} ${WRKSRC}/Scripts/* ${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=${PREFIX}/share/desktop-installer|g' \
|
|
${WRKSRC}/desktop-installer
|
|
|
|
.include <bsd.port.post.mk>
|