Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 17:47:29 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336562 - head/www/spreadlogd
Message-ID:  <201312151747.rBFHlTxQ013727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sun Dec 15 17:47:28 2013
New Revision: 336562
URL: http://svnweb.freebsd.org/changeset/ports/336562

Log:
  - add stage support
  - add License

Modified:
  head/www/spreadlogd/Makefile

Modified: head/www/spreadlogd/Makefile
==============================================================================
--- head/www/spreadlogd/Makefile	Sun Dec 15 17:41:39 2013	(r336561)
+++ head/www/spreadlogd/Makefile	Sun Dec 15 17:47:28 2013	(r336562)
@@ -9,7 +9,9 @@ MASTER_SITES=	http://www.lethargy.org/mo
 MAINTAINER=	apache@FreeBSD.org
 COMMENT=	The backend of mod_log_spread
 
-LIB_DEPENDS=	spread.1:${PORTSDIR}/net/spread
+LICENSE=	ART10
+
+LIB_DEPENDS=	libspread.so:${PORTSDIR}/net/spread
 
 MAKEFILE=	makefile
 
@@ -17,22 +19,15 @@ USE_RC_SUBR=	spreadlogd
 
 PLIST_FILES=	sbin/spreadlogd etc/spreadlogd.conf.sample
 
-.if !defined(NOPORTDOCS)
-PORTDOCS=	README Artistic.txt
-.endif
+PORTDOCS=	README
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/spreadlogd.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/spreadlogd ${PREFIX}/sbin
-	${INSTALL} ${WRKSRC}/spreadlogd.conf ${PREFIX}/etc/spreadlogd.conf.sample
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/spreadlogd ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL} ${WRKSRC}/spreadlogd.conf ${STAGEDIR}${PREFIX}/etc/spreadlogd.conf.sample
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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