Date: Mon, 7 Aug 2006 11:46:42 +0200 (CEST) From: Gabor Kovesdan <gkovesdan@t-hosting.hu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Gabor Kovesdan <gkovesdan@t-hosting.hu> Subject: ports/101563: [maintainer update] editors/sted Message-ID: <20060807094642.E80EC28A15B@catv-50635cb6.catv.broadband.hu> Resent-Message-ID: <200608070950.k779oENg010482@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101563 >Category: ports >Synopsis: [maintainer update] editors/sted >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Aug 07 09:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gabor Kovesdan >Release: FreeBSD 6.1-STABLE i386 >Organization: n/a >Environment: System: FreeBSD spitfire 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 29 18:31:18 CEST 2006 gabor@spitfire:/usr/src/sys/i386/compile/SPITFIRE i386 >Description: - Eliminate patches - Respect DESTDIR >How-To-Repeat: >Fix: --- editors-sted.diff begins here --- Index: Makefile =================================================================== RCS file: /usr/cvs/ports/editors/sted/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 1 Aug 2005 18:45:31 -0000 1.11 +++ Makefile 7 Aug 2006 09:44:07 -0000 @@ -20,9 +20,15 @@ PORTDOCS= CHANGES COPYING README PLIST_FILES= bin/sted +post-patch: + @${REINPLACE_CMD} -e "s|CC = gcc|CC ?= gcc|" \ + -e "s|C_OPTS = -Wall -O2|C_OPTS = ${CFLAGS}|" \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} "s|<curses.h>|<ncurses.h>|" ${WRKSRC}/sted.c + do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/sted ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/sted.1 ${PREFIX}/man/man1 + @ ${INSTALL_PROGRAM} ${WRKSRC}/sted ${TARGETDIR}/bin + @ ${INSTALL_MAN} ${WRKSRC}/sted.1 ${TARGETDIR}/man/man1 .if !defined(NOPORTDOCS) @ ${MKDIR} ${DOCSDIR} .for file in ${PORTDOCS} Index: files/patch-aa =================================================================== RCS file: files/patch-aa diff -N files/patch-aa --- files/patch-aa 3 Jul 1998 23:44:55 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,15 +0,0 @@ ---- Makefile Sun May 17 13:09:10 1998 -+++ /home/andy/tmp/wrk/Makefile Tue May 19 10:42:14 1998 -@@ -5,10 +5,10 @@ - - - #Compiler, change if you're using some other compiler --CC = gcc -+#CC = gcc - - #Compiler and linker options --C_OPTS = -Wall -O2 -+C_OPTS = ${CFLAGS} - L_OPTS = -lncurses - - #Install directory Index: files/patch-ab =================================================================== RCS file: files/patch-ab diff -N files/patch-ab --- files/patch-ab 3 Jul 1998 23:44:54 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ ---- sted.c Sun May 17 13:15:08 1998 -+++ /home/andy/tmp/wrk/sted.c Tue May 19 10:42:21 1998 -@@ -34,7 +34,7 @@ - **************************************************************************/ - - --#include <curses.h> -+#include <ncurses.h> - #include <signal.h> - #include <string.h> - #include <stdlib.h> --- editors-sted.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060807094642.E80EC28A15B>