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|||" ${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. **************************************************************************/