Date: Fri, 27 Jun 2014 14:21:37 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359536 - in head/www/webreport: . files Message-ID: <201406271421.s5RELbMV008429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Fri Jun 27 14:21:37 2014 New Revision: 359536 URL: http://svnweb.freebsd.org/changeset/ports/359536 QAT: https://qat.redports.org/buildarchive/r359536/ Log: - Stage support - Fix compile errors on 10X and above PR: 190788 Added: head/www/webreport/files/pkg-message.in (contents, props changed) Deleted: head/www/webreport/pkg-message Modified: head/www/webreport/Makefile Modified: head/www/webreport/Makefile ============================================================================== --- head/www/webreport/Makefile Fri Jun 27 14:19:45 2014 (r359535) +++ head/www/webreport/Makefile Fri Jun 27 14:21:37 2014 (r359536) @@ -3,29 +3,34 @@ PORTNAME= webreport PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.inter7.com/webreport/ MAINTAINER= ismail@EnderUNIX.org COMMENT= WebReport is a web log statistics program for web hosting sites +SUB_FILES= pkg-message PORTDOCS= INSTALL PLIST_FILES= bin/webreport etc/webreport.conf-dist -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +# silence clang errors on 10.0+ +CFLAGS+= -Wno-return-type + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's,ulong,unsigned long,;s,/etc/,${PREFIX}/etc/,' ${WRKSRC}/webreport.h do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/webreport ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/webreport.conf ${PREFIX}/etc/webreport.conf-dist + @${INSTALL_PROGRAM} ${WRKSRC}/webreport ${STAGEDIR}${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/webreport.conf ${STAGEDIR}${PREFIX}/etc/webreport.conf-dist -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif -post-install: - @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' - .include <bsd.port.mk> Added: head/www/webreport/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/webreport/files/pkg-message.in Fri Jun 27 14:21:37 2014 (r359536) @@ -0,0 +1,4 @@ + +Read the %%PREFIX%%/share/doc/webreport/INSTALL to configure webreport + +Edit the %%PREFIX%%/etc/webreport.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406271421.s5RELbMV008429>