From owner-svn-ports-head@freebsd.org Mon Jun 12 09:01:24 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7124CBF77F7; Mon, 12 Jun 2017 09:01:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ADEC34CA; Mon, 12 Jun 2017 09:01:24 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5C91NpA078207; Mon, 12 Jun 2017 09:01:23 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5C91NKG078202; Mon, 12 Jun 2017 09:01:23 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201706120901.v5C91NKG078202@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 12 Jun 2017 09:01:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443417 - in head/news/noffle: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 09:01:24 -0000 Author: amdmi3 Date: Mon Jun 12 09:01:22 2017 New Revision: 443417 URL: https://svnweb.freebsd.org/changeset/ports/443417 Log: - Add LICENSE - Switch to USES=localbase - Use MANPREFIX - Switch to options helpers - Fix WWW: - Don't install unneeded docfile Modified: head/news/noffle/Makefile head/news/noffle/files/patch-src__client.c head/news/noffle/pkg-descr head/news/noffle/pkg-plist Modified: head/news/noffle/Makefile ============================================================================== --- head/news/noffle/Makefile Mon Jun 12 08:37:05 2017 (r443416) +++ head/news/noffle/Makefile Mon Jun 12 09:01:22 2017 (r443417) @@ -12,25 +12,27 @@ COMMENT= News server for low speed dial-up connections LIB_DEPENDS= libgdbm.so:databases/gdbm -GNU_CONFIGURE= yes +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -CONFIGURE_ARGS+=--with-configfile=${LOCALBASE}/etc/noffle.conf \ +USES= localbase +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-configfile=${LOCALBASE}/etc/noffle.conf \ --with-usersfile=${LOCALBASE}/etc/noffle.users -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -SPOOL_DIR= /var/spool/noffle -PLIST_SUB+= SPOOL_DIR=${SPOOL_DIR} +PLIST_SUB= SPOOL_DIR=${SPOOL_DIR} SUB_FILES= pkg-message -DOCS= ChangeLog docs/FAQ INSTALL docs/INTERNALS README \ +SPOOL_DIR= /var/spool/noffle + +DOCS= ChangeLog docs/FAQ docs/INTERNALS README \ docs/testing.txt docs/noffle.lsm OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ - 's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \ + 's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \ ${WRKSRC}/docs/${PORTNAME}.1 \ ${WRKSRC}/docs/${PORTNAME}.conf.5 @@ -38,18 +40,19 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/noffle.1 \ - ${STAGEDIR}${PREFIX}/man/man1 + ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/noffle.conf.5 \ - ${STAGEDIR}${PREFIX}/man/man5 + ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_DATA} ${WRKSRC}/noffle.conf.example \ ${STAGEDIR}${PREFIX}/etc/noffle.conf.sample - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${SPOOL_DIR}/data \ ${STAGEDIR}${SPOOL_DIR}/lock \ ${STAGEDIR}${SPOOL_DIR}/outgoing \ ${STAGEDIR}${SPOOL_DIR}/overview \ ${STAGEDIR}${SPOOL_DIR}/requested +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include Modified: head/news/noffle/files/patch-src__client.c ============================================================================== --- head/news/noffle/files/patch-src__client.c Mon Jun 12 08:37:05 2017 (r443416) +++ head/news/noffle/files/patch-src__client.c Mon Jun 12 09:01:22 2017 (r443417) @@ -1,5 +1,5 @@ ---- src/client.c.orig Sun Oct 26 22:31:18 2003 -+++ src/client.c Sun Oct 26 22:31:34 2003 +--- src/client.c.orig 2003-06-20 10:39:31 UTC ++++ src/client.c @@ -8,6 +8,7 @@ #include #endif Modified: head/news/noffle/pkg-descr ============================================================================== --- head/news/noffle/pkg-descr Mon Jun 12 08:37:05 2017 (r443416) +++ head/news/noffle/pkg-descr Mon Jun 12 09:01:22 2017 (r443417) @@ -5,4 +5,4 @@ feed by acting as a client to a remote server. Allows news offline with many news clients, even if they do not support offline reading by themselves. -WWW: http://noffle.sourceforge.net +WWW: http://noffle.sourceforge.net/ Modified: head/news/noffle/pkg-plist ============================================================================== --- head/news/noffle/pkg-plist Mon Jun 12 08:37:05 2017 (r443416) +++ head/news/noffle/pkg-plist Mon Jun 12 09:01:22 2017 (r443417) @@ -3,7 +3,6 @@ man/man1/noffle.1.gz man/man5/noffle.conf.5.gz %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/INTERNALS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/noffle.lsm