ports/101563: [maintainer update] editors/sted
Gabor Kovesdan
gkovesdan at t-hosting.hu
Mon Aug 7 09:50:15 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list