Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 02:34:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411210 - in head/sysutils/httplog: . files
Message-ID:  <201603160234.u2G2YfNU079061@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Mar 16 02:34:41 2016
New Revision: 411210
URL: https://svnweb.freebsd.org/changeset/ports/411210

Log:
  - Add LICENSE
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/sysutils/httplog/Makefile
  head/sysutils/httplog/files/patch-configure

Modified: head/sysutils/httplog/Makefile
==============================================================================
--- head/sysutils/httplog/Makefile	Wed Mar 16 02:34:06 2016	(r411209)
+++ head/sysutils/httplog/Makefile	Wed Mar 16 02:34:41 2016	(r411210)
@@ -10,18 +10,24 @@ MASTER_SITES=	ftp://ftp.nuug.no/pub/ande
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Apache log rollover program with strftime(3) filename support
 
+LICENSE=	FSL
+LICENSE_NAME=	Free software license
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
+
 PORTDOCS=	ChangeLog README
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	(cd ${WRKSRC} && \
-	${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" httplog.c && \
-	${REINPLACE_CMD} -e \
+	@${REINPLACE_CMD} -e "s@<wait.h>@<sys/wait.h>@" \
+		${WRKSRC}/httplog.c
+	@${REINPLACE_CMD} -e \
 		"s@/var/lib/apache/bin/httplog@${PREFIX}/sbin/httplog@" \
-	httplog.8)
+		${WRKSRC}/httplog.8
 
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o httplog httplog.c -lz)
@@ -29,7 +35,9 @@ do-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/httplog ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/httplog.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor

Modified: head/sysutils/httplog/files/patch-configure
==============================================================================
--- head/sysutils/httplog/files/patch-configure	Wed Mar 16 02:34:06 2016	(r411209)
+++ head/sysutils/httplog/files/patch-configure	Wed Mar 16 02:34:41 2016	(r411210)
@@ -1,6 +1,6 @@
---- configure.orig	Sat Jun 25 15:53:38 2005
-+++ configure	Sat Jun 25 16:00:31 2005
-@@ -140,7 +140,7 @@
+--- configure.orig	2002-01-22 02:45:23 UTC
++++ configure
+@@ -140,7 +140,7 @@ int main(void) {
  EOF
  	$CC -o ./dummy ./dummy.c -lz 1>/dev/null 2>&1
  	if [ $? -eq 0 ]; then



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