Date: Mon, 12 Jun 2017 09:01:23 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443417 - in head/news/noffle: . files Message-ID: <201706120901.v5C91NKG078202@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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 <config.h> #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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706120901.v5C91NKG078202>