View | Details | Raw Unified | Return to bug 47994
Collapse All | Expand All

(-)Makefile (-8 / +21 lines)
Lines 19-28 Link Here
19
19
20
.include <bsd.port.pre.mk>
20
.include <bsd.port.pre.mk>
21
21
22
#.if ${OSVERSION} < 460000
23
#BROKEN=         "${PORTNAME} is not available for your version of FreeBSD.  Please upgrade."
24
#.endif
25
26
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
22
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
27
IGNORE=		may not be automatically fetched due to licensing\
23
IGNORE=		may not be automatically fetched due to licensing\
28
		restrictions.  You MUST manually fetch the tarball after\
24
		restrictions.  You MUST manually fetch the tarball after\
Lines 38-46 Link Here
38
NO_BUILD=	yes
34
NO_BUILD=	yes
39
NO_CDROM=	"Redistribution not allowed"
35
NO_CDROM=	"Redistribution not allowed"
40
36
37
LINPROCFS!=	/sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
38
39
pre-fetch:
40
.if ${OSVERSION} < 460000
41
	@${ECHO}
42
	@${ECHO} "OS-VERSION ${OSVERSION} too low"
43
	@${ECHO}
44
	@${ECHO} "acu needs some important sys/dev/an changes"
45
	@${ECHO} "Please upgrade to 4.6-STABLE or greater"
46
	@${FALSE}
47
.endif
48
49
post-extract:
50
.if ${LINPROCFS}
51
	@${ECHO}
52
	@${ECHO} "linprocfs is mounted, please umount this filesystem"
53
	@${ECHO} "becauce acu needs to read ${LINUXBASE}/proc/aironet"
54
	@${FALSE}
55
.endif
56
41
do-install:
57
do-install:
42
	@${MKDIR} ${PREFIX}/bin
58
	@${MKDIR} ${PREFIX}/bin
43
#	@${MKDIR} ${LINUXBASE}/proc/aironet
59
	@${MKDIR} ${LINUXBASE}/proc/aironet
44
	@${INSTALL} ${WRKSRC}/utilities/acu ${PREFIX}/bin
60
	@${INSTALL} ${WRKSRC}/utilities/acu ${PREFIX}/bin
45
61
46
post-install:
62
post-install:
Lines 48-57 Link Here
48
	@${ECHO} "notes: acu will only run from the root super-user account"
64
	@${ECHO} "notes: acu will only run from the root super-user account"
49
	@${ECHO} "       to allow root access to your X session,"
65
	@${ECHO} "       to allow root access to your X session,"
50
	@${ECHO} "       run 'xhost localhost' or use sudo."
66
	@${ECHO} "       run 'xhost localhost' or use sudo."
51
	@${ECHO} "       acu will not run with linprocfs since it needs to see:"
52
	@${ECHO} "	        ${LINUXBASE}/proc/aironet""
53
	@${ECHO} "	acu annoyingly creates"
67
	@${ECHO} "	acu annoyingly creates"
54
	@${ECHO} "		/compat/linux/etc/eth2.cfg"
68
	@${ECHO} "		/compat/linux/etc/eth2.cfg"
55
	@${ECHO} "	and will use that over the current card's settings."
69
	@${ECHO} "	and will use that over the current card's settings."
56
57
.include <bsd.port.post.mk>
70
.include <bsd.port.post.mk>

Return to bug 47994