mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net-mgmt/ipacctd: Move man pages to share/man
Approved by: portmgr (blanket)
This commit is contained in:
parent
e2216da9e7
commit
708c87b104
@ -1,6 +1,6 @@
|
||||
PORTNAME= ipacctd
|
||||
PORTVERSION= 1.47
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= LOCAL/skv
|
||||
|
||||
@ -11,16 +11,12 @@ LICENSE= BSD2CLAUSE
|
||||
|
||||
USES= uidfix
|
||||
USE_RC_SUBR= ipacctd
|
||||
MAKE_ENV= BINDIR="${PREFIX}/sbin"
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,{MANDIR},{DESTDIR}$$&,' ${WRKSRC}/man_ru/Makefile
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ru
|
||||
${INSTALL_DATA} ${WRKSRC}/README.ipacctd ${STAGEDIR}${DOCSDIR}/ru
|
||||
|
13
net-mgmt/ipacctd/files/patch-man__ru_Makefile
Normal file
13
net-mgmt/ipacctd/files/patch-man__ru_Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
--- man_ru/Makefile.orig 2024-03-14 12:52:55 UTC
|
||||
+++ man_ru/Makefile
|
||||
@@ -1,8 +1,8 @@ PREFIX?= /usr/local
|
||||
PREFIX?= /usr/local
|
||||
-MANDIR= ${PREFIX}/man/ru.KOI8-R/man
|
||||
+MANDIR= ${PREFIX}/share/man/ru.KOI8-R/man
|
||||
MAN8= ipacctd.8
|
||||
|
||||
beforeinstall:
|
||||
- mkdir -p ${MANDIR}8
|
||||
+ mkdir -p ${DESTDIR}${MANDIR}8
|
||||
|
||||
.include <bsd.prog.mk>
|
10
net-mgmt/ipacctd/files/patch-src_Makefile
Normal file
10
net-mgmt/ipacctd/files/patch-src_Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/Makefile.orig 2024-03-14 12:52:32 UTC
|
||||
+++ src/Makefile
|
||||
@@ -8,6 +8,6 @@ MAN= ipacctd.8
|
||||
CFLAGS+= -g
|
||||
|
||||
MAN= ipacctd.8
|
||||
-MANDIR= ${PREFIX}/man/man
|
||||
+MANDIR= ${PREFIX}/share/man/man
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,4 +1,4 @@
|
||||
man/man8/ipacctd.8.gz
|
||||
man/ru.KOI8-R/man8/ipacctd.8.gz
|
||||
sbin/ipacctd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ru/README.ipacctd
|
||||
share/man/man8/ipacctd.8.gz
|
||||
share/man/ru.KOI8-R/man8/ipacctd.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user