Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= est |
8 |
PORTNAME= est |
9 |
PORTVERSION= 0.7.2 |
9 |
PORTVERSION= 0.7.2 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= sysutils |
11 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= http://www.daemonology.net/freebsd-est/ |
12 |
MASTER_SITES= http://www.daemonology.net/freebsd-est/ |
13 |
|
13 |
|
Lines 18-44
Link Here
|
18 |
KMODDIR= ${PREFIX}/modules |
18 |
KMODDIR= ${PREFIX}/modules |
19 |
MAKE_ARGS= KMODDIR="${KMODDIR}" |
19 |
MAKE_ARGS= KMODDIR="${KMODDIR}" |
20 |
|
20 |
|
21 |
USE_RC_SUBR= yes |
21 |
USE_RC_SUBR= ${PORTNAME} |
22 |
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} |
|
|
23 |
|
24 |
PLIST_FILES= modules/est.ko \ |
25 |
etc/rc.d/est.sh |
26 |
|
22 |
|
27 |
.include <bsd.port.pre.mk> |
23 |
.include <bsd.port.pre.mk> |
28 |
|
24 |
|
29 |
.if ${OSVERSION} > 600015 |
25 |
.if ${OSVERSION} > 600015 |
30 |
IGNORE= est now contained in the base system (see cpufreq(4)) |
26 |
IGNORE= is now contained in the base system (see cpufreq(4)) |
31 |
.endif |
27 |
.endif |
32 |
|
28 |
|
33 |
post-extract: |
29 |
.if !exists(${SRC_BASE}/sys/Makefile) |
34 |
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |
30 |
IGNORE= needs kernel source files |
35 |
${FILESDIR}/est.sh > ${WRKDIR}/est.sh |
31 |
.endif |
36 |
|
32 |
|
37 |
pre-install: |
33 |
pre-install: |
38 |
${MKDIR} ${KMODDIR} |
34 |
@${MKDIR} ${KMODDIR} |
39 |
|
35 |
|
40 |
post-install: |
36 |
post-install: |
41 |
${INSTALL_SCRIPT} ${WRKDIR}/est.sh ${PREFIX}/etc/rc.d/est.sh |
37 |
@${CAT} ${PKGMESSAGE} |
42 |
${CAT} ${PKGMESSAGE} |
|
|
43 |
|
38 |
|
44 |
.include <bsd.port.post.mk> |
39 |
.include <bsd.port.post.mk> |