Date: Sat, 24 Aug 2013 16:23:44 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325301 - head/news/sn Message-ID: <201308241623.r7OGNiNK015998@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sat Aug 24 16:23:43 2013 New Revision: 325301 URL: http://svnweb.freebsd.org/changeset/ports/325301 Log: - Try to unbreak parallel builds (-jX); respect CC/LD and CFLAGS - Trim Makefile header, fix a typo in email address - Convert USE_GMAKE, define LICENSE (GPLv2), sort the knobs - Allow non-root installation: pre-install should be pre-su-install since it touches non-user writable directory - Make INSTALL_DATA command atomic and $cwd-agnostic - While here, fix port description: drop explicit author attribution and use space, not tab, after WWW: per PH section 3.2.1 Approved by: miwi, bapt (portmgr, implicit) Modified: head/news/sn/Makefile head/news/sn/pkg-descr Modified: head/news/sn/Makefile ============================================================================== --- head/news/sn/Makefile Sat Aug 24 15:24:41 2013 (r325300) +++ head/news/sn/Makefile Sat Aug 24 16:23:43 2013 (r325301) @@ -1,9 +1,5 @@ -# New ports collection makefile for: sn -# Date created: 2004-02-21 -# Whom: Andreas Fehlner <fehlner@gmx.del> -# +# Created by: Andreas Fehlner <fehlner@gmx.de> # $FreeBSD$ -# PORTNAME= sn PORTVERSION= 0.3.8 @@ -15,28 +11,39 @@ MASTER_SITES= http://www.infa.abo.fi/~pa MAINTAINER= fehlner@gmx.de COMMENT= Small news system for small sites serving +LICENSE= GPLv2 + +USES= gmake +USE_BZIP2= yes +MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" LD="${CC}" + PORTDOCS= README CHANGES FAQ INSTALL INTERNALS \ THANKS TODO INSTALL.notes INSTALL.notes2 \ INSTALL.run INSTALL.upgrade -USE_BZIP2= yes -USE_GMAKE= yes - MAN8= sn.8 sncancel.8 sncat.8 sndelgroup.8 sndumpdb.8 \ snexpire.8 snfetch.8 snget.8 sngetd.8 snmail.8 \ snnewgroup.8 snntpd.8 snprimedb.8 snscan.8 snsend.8 \ snsplit.8 snstore.8 +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +# Try to fix parallel builds (-jX); respect CFLAGS post-patch: - @${REINPLACE_CMD} -e 's|^PREFIX|#PREFIX|g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \ + s|snlockf\.o$$|& lib/libstuff.a| ; \ + s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic|' \ + ${WRKSRC}/Makefile -pre-install: +pre-su-install: @${MKDIR} /var/spool/news post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> Modified: head/news/sn/pkg-descr ============================================================================== --- head/news/sn/pkg-descr Sat Aug 24 15:24:41 2013 (r325300) +++ head/news/sn/pkg-descr Sat Aug 24 16:23:43 2013 (r325301) @@ -1,10 +1,7 @@ sn a small news system for small sites serving perhaps a few dozen -newsgroups, and with a slow connection to the internet. It is similar -to Leafnode. The target user is a home or SOHO with a single modem +newsgroups, and with a slow connection to the internet; similar to +Leafnode. The target user is a home or SOHO with a single modem connection to the Internet, maybe running IP masq or similar, and serving a few workstations. -WWW: http://infa.abo.fi/~patrik/sn/ - --Andreas Fehlner -fehlner@gmx.de +WWW: http://infa.abo.fi/~patrik/sn/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308241623.r7OGNiNK015998>