blob: aa9489c57a5464a432de3474c23a1748aa3029ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= desktop-installer
DISTVERSION= 0.7.1
CATEGORIES= sysutils
MAINTAINER= jwb@FreeBSD.org
COMMENT= Quickly configure a FreeBSD desktop system
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= auto-admin>=0.7.1:sysutils/auto-admin
USES= tar:xz
USE_GITHUB= yes
GH_ACCOUNT= outpaddling
NO_BUILD= yes
NO_ARCH= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/Scripts/battery_shutdown.sh ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/Doc/${PORTNAME}.man \
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/Data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DATADIR}/Scripts
${INSTALL_SCRIPT} ${WRKSRC}/Scripts/* ${STAGEDIR}${DATADIR}/Scripts
.include <bsd.port.mk>
|