mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Do not violate stagedir (and allow staging as a regular user)
This commit is contained in:
parent
18f57caef8
commit
389b0f6e3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369199
@ -13,7 +13,7 @@ COMMENT= Netgraph IP accounting
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USES= kmod uidfix
|
||||
USES= kmod uidfix
|
||||
|
||||
MAKE_ENV= BINDIR="${PREFIX}/sbin"
|
||||
|
||||
@ -24,6 +24,9 @@ CFLAGS+= -DMEM_USE_ZONE
|
||||
post-extract:
|
||||
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,{MANDIR},{DESTDIR}$$&,' ${WRKSRC}/man_ru/Makefile
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/include/netgraph
|
||||
${INSTALL_DATA} ${WRKSRC}/ng_ipacct/ng_ipacct.h ${STAGEDIR}${PREFIX}/include/netgraph
|
||||
|
Loading…
Reference in New Issue
Block a user