diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-29 00:41:00 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-29 00:41:00 +0000 |
commit | 50ad76ee9af28fb8c1fcb351df5295a4647a52b9 (patch) | |
tree | 91c171df77318178f21ab6b0ba575e728a9b2fc2 /editors | |
parent | - Add NO_ARCH (diff) |
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
Notes
Notes:
svn path=/head/; revision=412085
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sted/Makefile | 9 | ||||
-rw-r--r-- | editors/sted/files/patch-sted.c | 4 |
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. **************************************************************************/ |