mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
5c8f82f201
FreeBSD desktop system using any of the mainstream desktop systems. It automatically installs essential software and configures subsystems such as HAL, CUPS, etc. for typical use. WWW: http://personalpages.tds.net/~jwbacon/Ports PR: ports/143180 Submitted by: Jason Bacon <jwbacon at tds.net>
36 lines
911 B
Makefile
36 lines
911 B
Makefile
# New ports collection makefile for: desktop-config
|
|
# Date created: 2009-12-29
|
|
# Whom: Jason Bacon <jwbacon@tds.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= desktop-installer
|
|
PORTVERSION= 0.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
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/Doc/${PORTNAME}.1 ${PREFIX}/man/man1
|
|
${MKDIR} ${DATADIR}
|
|
${CP} -r ${WRKSRC}/Data/* ${DATADIR}
|
|
|
|
.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>
|