Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2000 14:52:54 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/17722: Update port: misc/xenmenu
Message-ID:  <200003312252.OAA36016@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         17722
>Category:       ports
>Synopsis:       Update port: misc/xenmenu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 31 15:00:04 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line of pkg/DESCR
- Support CFLAGS properly

New file:
patches/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/misc/xenmenu/Makefile misc/xenmenu/Makefile
--- /usr/ports/misc/xenmenu/Makefile	Wed Mar 29 20:04:44 2000
+++ misc/xenmenu/Makefile	Fri Mar 31 04:55:36 2000
@@ -9,54 +9,59 @@
 DISTNAME=	xenmenu-0.8b
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_SUNSITE} \
-		http://www.cs.purdue.edu/homes/steinkf/software/xenmenu/
+		http://freeport.xenos.net/~xenon/software/xenmenu/
 MASTER_SITE_SUBDIR=	apps/misc
 
 MAINTAINER=	ports@FreeBSD.org
 
-ALL_TARGET=
+ALL_TARGET=	# empty
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-sys-config=${PREFIX}/etc/xenmenurc --with-secure-config=${PREFIX}/etc/xenmenurc.secure --with-support-dir=${PREFIX}/share/xenmenu/bin --with-menu-dir=${PREFIX}/share/xenmenu/menus --with-view-dir=${PREFIX}/share/xenmenu/text --with-path=${PREFIX}/bin:/usr/bin:/bin
+CONFIGURE_ARGS=	--with-sys-config=${PREFIX}/etc/xenmenurc \
+		--with-secure-config=${PREFIX}/etc/xenmenurc.secure \
+		--with-support-dir=${PREFIX}/share/xenmenu/bin \
+		--with-menu-dir=${PREFIX}/share/xenmenu/menus \
+		--with-view-dir=${PREFIX}/share/xenmenu/text \
+		--with-path=${PREFIX}/bin:/usr/bin:/bin
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/xenmenu ${PREFIX}/bin
-	@ ${MKDIR} ${PREFIX}/share/xenmenu
-	@ ${MKDIR} ${PREFIX}/share/xenmenu/bin
-	@ ${MKDIR} ${PREFIX}/share/xenmenu/menus
-	@ ${MKDIR} ${PREFIX}/share/xenmenu/text
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/xenmenu ${PREFIX}/bin
+	@${MKDIR} ${PREFIX}/share/xenmenu
+	@${MKDIR} ${PREFIX}/share/xenmenu/bin
+	@${MKDIR} ${PREFIX}/share/xenmenu/menus
+	@${MKDIR} ${PREFIX}/share/xenmenu/text
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/bin
 .for file in Makefile README get_backspace.c set_cols.c set_rows.c show_backspace.c show_cols.c show_rows.c
-	@ ${INSTALL_DATA} ${WRKSRC}/contrib/${file} ${PREFIX}/share/examples/xenmenu/bin
+	${INSTALL_DATA} ${WRKSRC}/contrib/${file} ${PREFIX}/share/examples/xenmenu/bin
 .endfor
 .for file in bbs finger ftp party ssh talk telegram telnet
-	@ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/${file} ${PREFIX}/share/examples/xenmenu/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/contrib/${file} ${PREFIX}/share/examples/xenmenu/bin
 .endfor
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/menus
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/games_menus
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/help_menus
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/games_menus
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/help_menus
 .for file in bbs config freeport freeportb freeportc games help helpb internet mail mainmenu other party telmenu telmenu_changecurrent telmenu_changedefault
-	@ ${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus
+	${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus
 .endfor
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/bbs_menus
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/bbs_menus
 .for file in bbs_menus/technical bbs_menus/general_interest bbs_menus/sig bbs_menus/literary bbs_menus/misc
-	@ ${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/bbs_menus
+	${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/bbs_menus
 .endfor
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/games_menus
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/games_menus
 .for file in games_menus/multiplayer games_menus/amusements games_menus/singleplayer games_menus/singleplayer2 games_menus/amusements2
-	@ ${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/games_menus
+	${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/games_menus
 .endfor
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/help_menus
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/menus/help_menus
 .for file in help_menus/partyb help_menus/party help_menus/bbs help_menus/bbsb help_menus/mail help_menus/mailb help_menus/abuse help_menus/games help_menus/abuseb help_menus/bbsc help_menus/partyc help_menus/mailc
-	@ ${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/help_menus
+	${INSTALL_DATA} ${WRKSRC}/sample_menus/${file} ${PREFIX}/share/examples/xenmenu/menus/help_menus
 .endfor
-	@ ${MKDIR} ${PREFIX}/share/examples/xenmenu/text
+	@${MKDIR} ${PREFIX}/share/examples/xenmenu/text
 .for file in backspace_help.txt col_help.txt shell_help.txt
-	@ ${INSTALL_DATA} ${WRKSRC}/sample_text/${file} ${PREFIX}/share/examples/xenmenu/text
+	${INSTALL_DATA} ${WRKSRC}/sample_text/${file} ${PREFIX}/share/examples/xenmenu/text
 .endfor
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/xenmenu
-.for file in BUGS CHANGELOG COPYRIGHT README README.html TODO
-	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xenmenu
+	@${MKDIR} ${PREFIX}/share/doc/xenmenu
+.for file in BUGS COPYRIGHT CHANGELOG README README.html TODO
+	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xenmenu
 .endfor
 .endif
 
diff -urN /usr/ports/misc/xenmenu/patches/patch-ab misc/xenmenu/patches/patch-ab
--- /usr/ports/misc/xenmenu/patches/patch-ab	Thu Jan  1 09:00:00 1970
+++ misc/xenmenu/patches/patch-ab	Fri Mar 31 04:12:09 2000
@@ -0,0 +1,40 @@
+--- Makefile.in.orig	Sun Mar  1 20:52:43 1998
++++ Makefile.in	Fri Mar 31 04:11:51 2000
+@@ -5,6 +5,7 @@
+ 
+ # Name of the program with which to compile
+ CC=@CC@
++CFLAGS=@CFLAGS@
+ 
+ # Location of the directory in which menu should be installed
+ prefix=@prefix@
+@@ -27,22 +28,22 @@
+ 
+ 
+ xenmenu: xenmenu.o menu_func.o opt_func.o get_input.o dochoice.o rpmenu.o
+-	$(CC) -o xenmenu xenmenu.o menu_func.o opt_func.o get_input.o \
++	$(CC) $(CFLAGS) -o xenmenu xenmenu.o menu_func.o opt_func.o get_input.o \
+ 	dochoice.o rpmenu.o
+ xenmenu.o: xenmenu.c config.h xenmenu.h menu_func.h opt_func.h get_input.h \
+ 	dochoice.h rpmenu.h
+-	$(CC) -c xenmenu.c -o xenmenu.o
++	$(CC) $(CFLAGS) -c xenmenu.c -o xenmenu.o
+ 
+ dochoice.o: dochoice.c xenmenu.h opt_func.h menu_func.h dochoice.h
+-	$(CC) -c dochoice.c -o dochoice.o
++	$(CC) $(CFLAGS) -c dochoice.c -o dochoice.o
+ get_input.o: get_input.c
+-	$(CC) -c get_input.c -o get_input.o
++	$(CC) $(CFLAGS) -c get_input.c -o get_input.o
+ menu_func.o: menu_func.c config.h xenmenu.h menu_func.h get_input.h
+-	$(CC) -c menu_func.c -o menu_func.o
++	$(CC) $(CFLAGS) -c menu_func.c -o menu_func.o
+ opt_func.o: opt_func.c opt_func.h xenmenu.h menu_func.h
+-	$(CC) -c opt_func.c -o opt_func.o
++	$(CC) $(CFLAGS) -c opt_func.c -o opt_func.o
+ rpmenu.o: rpmenu.c config.h rpmenu.h xenmenu.h menu_func.h
+-	$(CC) -c rpmenu.c -o rpmenu.o
++	$(CC) $(CFLAGS) -c rpmenu.c -o rpmenu.o
+ 
+ rpmenu.h: opt_func.h
+ xenmenu.h: opt_func.h
diff -urN /usr/ports/misc/xenmenu/pkg/DESCR misc/xenmenu/pkg/DESCR
--- /usr/ports/misc/xenmenu/pkg/DESCR	Mon May  3 14:37:32 1999
+++ misc/xenmenu/pkg/DESCR	Fri Mar 31 03:59:15 2000
@@ -5,4 +5,4 @@
 anything or halting xenmenu while reconfiguring.  Xenmenu can 
 also be used as a secure user shell.
 
-WWW: http://www.cs.purdue.edu/homes/steinkf/software/xenmenu
+WWW: http://freeport.xenos.net/~xenon/software/xenmenu/


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003312252.OAA36016>