aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-29 08:41:00 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-29 08:41:00 +0800
commit33329d8a8ee32d2cc209636203499c1a344716de (patch)
tree91c171df77318178f21ab6b0ba575e728a9b2fc2 /editors
parent79109d06dba5a05501abcd1534dfee6bbc21c2c9 (diff)
downloadfreebsd-ports-gnome-33329d8a8ee32d2cc209636203499c1a344716de.tar.gz
freebsd-ports-gnome-33329d8a8ee32d2cc209636203499c1a344716de.tar.zst
freebsd-ports-gnome-33329d8a8ee32d2cc209636203499c1a344716de.zip
- Clarify LICENSE
- Add LICENSE_FILE - Switch to options helpers - Regenerate patches with `make makepatch`
Diffstat (limited to 'editors')
-rw-r--r--editors/sted/Makefile9
-rw-r--r--editors/sted/files/patch-sted.c4
2 files changed, 9 insertions, 4 deletions
diff --git a/editors/sted/Makefile b/editors/sted/Makefile
index 453a0ca40947..44e50f86a314 100644
--- a/editors/sted/Makefile
+++ b/editors/sted/Makefile
@@ -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
diff --git a/editors/sted/files/patch-sted.c b/editors/sted/files/patch-sted.c
index 048b00d36e00..57cd6200b45d 100644
--- a/editors/sted/files/patch-sted.c
+++ b/editors/sted/files/patch-sted.c
@@ -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.
**************************************************************************/