Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2014 14:09:35 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346900 - head/dns/adsuck
Message-ID:  <201403031409.s23E9ZGa041522@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Mar  3 14:09:35 2014
New Revision: 346900
URL: http://svnweb.freebsd.org/changeset/ports/346900
QAT: https://qat.redports.org/buildarchive/r346900/

Log:
  Support staging

Modified:
  head/dns/adsuck/Makefile
  head/dns/adsuck/pkg-plist

Modified: head/dns/adsuck/Makefile
==============================================================================
--- head/dns/adsuck/Makefile	Mon Mar  3 13:54:48 2014	(r346899)
+++ head/dns/adsuck/Makefile	Mon Mar  3 14:09:35 2014	(r346900)
@@ -14,7 +14,7 @@ COMMENT=	DNS relay for ad blocking
 
 LICENSE=	BSD
 
-LIB_DEPENDS+=	event-1.4:${PORTSDIR}/devel/libevent \
+LIB_DEPENDS+=	libevent-1.4.so:${PORTSDIR}/devel/libevent \
 		ldns:${PORTSDIR}/dns/ldns
 
 USE_RC_SUBR=	adsuck
@@ -24,17 +24,12 @@ GROUPS=	_adsuck
 
 SUB_FILES+=	pkg-message
 
-MAN8=	adsuck.8
-MANCOMPRESSED=	yes
+OPTIONS_DEFINE=	EXAMPLES
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${PREFIX}/sbin/
-	@${INSTALL_MAN} ${WRKSRC}/${MAN8}.gz ${MANPREFIX}/man/man8/
-
-post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/files/* ${EXAMPLESDIR}
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${MANPREFIX}/man/man8
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/files/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/dns/adsuck/pkg-plist
==============================================================================
--- head/dns/adsuck/pkg-plist	Mon Mar  3 13:54:48 2014	(r346899)
+++ head/dns/adsuck/pkg-plist	Mon Mar  3 14:09:35 2014	(r346900)
@@ -1,4 +1,5 @@
 sbin/adsuck
+man/man8/adsuck.8.gz
 %%EXAMPLESDIR%%/Hosts.blc
 %%EXAMPLESDIR%%/Hosts.pub
 %%EXAMPLESDIR%%/Hosts.rsk



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