- Clarify LICENSE

- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-03-29 00:41:00 +00:00
parent f8fa193250
commit 50ad76ee9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412085
2 changed files with 9 additions and 4 deletions

View file

@ -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}" L_OPTS="${LDFLAGS} -lncurses"
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

View file

@ -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.
**************************************************************************/