Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2016 00:41:00 +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: r412085 - in head/editors/sted: . files
Message-ID:  <201603290041.u2T0f0hJ083677@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Mar 29 00:41:00 2016
New Revision: 412085
URL: https://svnweb.freebsd.org/changeset/ports/412085

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/editors/sted/Makefile
  head/editors/sted/files/patch-sted.c

Modified: head/editors/sted/Makefile
==============================================================================
--- head/editors/sted/Makefile	Tue Mar 29 00:38:28 2016	(r412084)
+++ head/editors/sted/Makefile	Tue Mar 29 00:41:00 2016	(r412085)
@@ -9,7 +9,8 @@ MASTER_SITES=	LOCAL/gabor
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple/Small/Stupid Text Editor
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		ncurses
 WRKSRC=		${WRKDIR}/sted
@@ -18,13 +19,17 @@ MAKE_ARGS=	CC="${CC}" C_OPTS="${CFLAGS}"
 PORTDOCS=	CHANGES README
 PLIST_FILES=	bin/sted man/man1/sted.1.gz
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} "s|<curses.h>|<ncurses.h>|" ${WRKSRC}/sted.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sted ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/sted.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor

Modified: head/editors/sted/files/patch-sted.c
==============================================================================
--- head/editors/sted/files/patch-sted.c	Tue Mar 29 00:38:28 2016	(r412084)
+++ head/editors/sted/files/patch-sted.c	Tue Mar 29 00:41:00 2016	(r412085)
@@ -1,5 +1,5 @@
---- sted.c.orig	2011-12-22 00:15:01.000000000 +0800
-+++ sted.c	2011-12-22 00:15:09.000000000 +0800
+--- sted.c.orig	1998-05-17 13:15:08 UTC
++++ sted.c
 @@ -74,7 +74,7 @@ rad *head = NULL;		/* The head pointer f
   * user. Processes the input and stores it.
   **************************************************************************/



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