svn commit: r333814 - head/sysutils/httplog
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Nov 15 03:27:00 UTC 2013
Author: vanilla
Date: Fri Nov 15 03:26:59 2013
New Revision: 333814
URL: http://svnweb.freebsd.org/changeset/ports/333814
Log:
Support STAGEDIR.
Added:
head/sysutils/httplog/pkg-plist (contents, props changed)
Modified:
head/sysutils/httplog/Makefile
Modified: head/sysutils/httplog/Makefile
==============================================================================
--- head/sysutils/httplog/Makefile Fri Nov 15 03:03:35 2013 (r333813)
+++ head/sysutils/httplog/Makefile Fri Nov 15 03:26:59 2013 (r333814)
@@ -10,15 +10,10 @@ MASTER_SITES= ftp://ftp.nuug.no/pub/ande
MAINTAINER= ports at 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>
Added: head/sysutils/httplog/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/httplog/pkg-plist Fri Nov 15 03:26:59 2013 (r333814)
@@ -0,0 +1,5 @@
+man/man8/httplog.8.gz
+sbin/httplog
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
More information about the svn-ports-head
mailing list