mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Support STAGEDIR.
This commit is contained in:
parent
16c0b2a99c
commit
ab41bff45c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333814
2 changed files with 10 additions and 12 deletions
|
@ -10,15 +10,10 @@ MASTER_SITES= ftp://ftp.nuug.no/pub/anders/distfiles/
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Apache log rollover program with strftime(3) filename support
|
||||
|
||||
MAN8= httplog.8
|
||||
|
||||
PLIST_FILES= sbin/httplog
|
||||
PORTDOCS= ChangeLog README
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}
|
||||
PORTDOCS= ChangeLog README
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
(cd ${WRKSRC} && \
|
||||
${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
|
||||
|
@ -30,13 +25,11 @@ do-build:
|
|||
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o httplog httplog.c -lz)
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/httplog ${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/httplog.8 ${MAN8PREFIX}/man/man8
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/httplog ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${WRKSRC}/httplog.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
5
sysutils/httplog/pkg-plist
Normal file
5
sysutils/httplog/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
man/man8/httplog.8.gz
|
||||
sbin/httplog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Add table
Reference in a new issue