Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 23:24:03 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364820 - head/www/pound
Message-ID:  <201408132324.s7DNO3bs011053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Aug 13 23:24:02 2014
New Revision: 364820
URL: http://svnweb.freebsd.org/changeset/ports/364820
QAT: https://qat.redports.org/buildarchive/r364820/

Log:
  Stage www/pound
  
  PR:		189937
  Submitted by:	Joe (thralling.com)
  Approved by:	Nobody, the maintainer was reset
  Lil' TLC:	marino

Modified:
  head/www/pound/Makefile

Modified: head/www/pound/Makefile
==============================================================================
--- head/www/pound/Makefile	Wed Aug 13 22:45:45 2014	(r364819)
+++ head/www/pound/Makefile	Wed Aug 13 23:24:02 2014	(r364820)
@@ -8,7 +8,6 @@ CATEGORIES=	www net
 MASTER_SITES=	http://www.apsis.ch/pound/ \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
 DISTNAME=	Pound-${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Reverse proxy, load balancer and HTTP(S) frontend for web servers
@@ -16,44 +15,44 @@ COMMENT=	Reverse proxy, load balancer an
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/GPL.txt
 
+USES=		tar:tgz
 GNU_CONFIGURE=	yes
 USE_OPENSSL=	yes
 USE_RC_SUBR=	${PORTNAME}
 
 SUB_LIST=	NAME=${PORTNAME}
 
-MAN8=	pound.8 poundctl.8
-
 OPTIONS_DEFINE=	MSDAV PCRE
-OPTIONS_DEFAULT=	PCRE
+OPTIONS_DEFAULT=PCRE
 MSDAV_DESC=	Microsoft WebDAV extension support
 
-CONFIGURE_ARGS=	--disable-tcmalloc --disable-hoard
-PLIST_FILES=	sbin/pound sbin/poundctl
+PCRE_CONFIGUE_ENABLE=	pcreposix
+MSDAV_CONFIGURE_ENABLE=	msdav
+CONFIGURE_ARGS=		--disable-tcmalloc --disable-hoard
+
+PLIST_FILES=	sbin/pound \
+		sbin/poundctl \
+		man/man8/pound.8.gz \
+		man/man8/poundctl.8.gz
 PORTDOCS=	README FAQ CHANGELOG
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MMSDAV}
-CONFIGURE_ARGS+=	--enable-msdav
-.endif
-
 .if ${PORT_OPTIONS:MPCRE}
 LIB_DEPENDS+=		libpcre.so:${PORTSDIR}/devel/pcre
-CFLAGS+=		"-I${LOCALBASE}/include"
-CPPFLAGS+=		"-I${LOCALBASE}/include"
-LDFLAGS+=		"-L${LOCALBASE}/lib"
-.else
-CONFIGURE_ARGS+=	--disable-pcreposix
+CFLAGS+=		-I${LOCALBASE}/include
+CPPFLAGS+=		-I${LOCALBASE}/include
+LDFLAGS+=		-L${LOCALBASE}/lib
 .endif
 
-post-install:
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/pound ${WRKSRC}/poundctl \
+		${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/pound.8 ${WRKSRC}/poundctl.8 \
+		${STAGEDIR}${MANPREFIX}/man/man8
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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