Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 03:26:59 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333814 - head/sysutils/httplog
Message-ID:  <201311150326.rAF3QxNw019093@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311150326.rAF3QxNw019093>