Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 13:32:43 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21367: Update port: comms/yaps
Message-ID:  <20000918203243.880CC37B423@hub.freebsd.org>

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

>Number:         21367
>Category:       ports
>Synopsis:       Update port: comms/yaps
>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:   Mon Sep 18 13:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/PREFIX properly
- Support NOPORTDOCS

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/comms/yaps/Makefile comms/yaps/Makefile
--- /usr/ports/comms/yaps/Makefile	Sun Apr  9 15:43:32 2000
+++ comms/yaps/Makefile	Tue Aug  8 20:32:09 2000
@@ -18,10 +18,12 @@
 MAN1=		yaps.1
 
 post-install:
-	${MKDIR} ${PREFIX}/share/doc/yaps; \
-	${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample; \
-	${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps; \
-	${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps; \
-	${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1;
+	${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample
+	${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/yaps
+	${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps
+	${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/comms/yaps/patches/patch-aa comms/yaps/patches/patch-aa
--- /usr/ports/comms/yaps/patches/patch-aa	Fri Oct  9 13:50:07 1998
+++ comms/yaps/patches/patch-aa	Tue Aug  8 20:29:52 2000
@@ -1,7 +1,8 @@
-*** Config~	Tue Sep 29 15:15:18 1998
---- Config	Tue Sep 29 15:16:10 1998
+*** Config.orig	Sat Jun 14 19:32:18 1997
+--- Config	Tue Aug  8 20:29:41 2000
 ***************
-*** 2,8 ****
+*** 1,9 ****
+  #	-*- sh -*-
   #	SECTION A.) Global configuration
   #	Select compiler command
 ! CC	= gcc
@@ -9,7 +10,9 @@
 ! CFLAGS	= -Wall -Wno-parentheses -Wshadow -Wstrict-prototypes -Wmissing-prototypes
   LDFLAGS	=
   EXLIBS	=
---- 2,8 ----
+  #
+--- 1,9 ----
+  #	-*- sh -*-
   #	SECTION A.) Global configuration
   #	Select compiler command
 ! #CC	= gcc
@@ -17,29 +20,68 @@
 ! #CFLAGS	= -Wall -Wno-parentheses -Wshadow -Wstrict-prototypes -Wmissing-prototypes
   LDFLAGS	=
   EXLIBS	=
+  #
 ***************
-*** 21,25 ****
+*** 14,35 ****
+  #LUA	= True
+  #
+  #	Define this to disable debugging
+! #NDEBUG	= True
+  #
+  #
+  #
   #	SECTION B.) yaps configuration
   #	Name and location of global configuration file
 ! YAPS_CFGFILE	= /etc/yaps.rc
   #	Name of local configuration file (location is $HOME.)
   YAPS_LCFGFILE 	= .yapsrc
---- 21,25 ----
-  #	SECTION B.) yaps configuration
-  #	Name and location of global configuration file
-! YAPS_CFGFILE	= /usr/local/etc/yaps.rc
-  #	Name of local configuration file (location is $HOME.)
-  YAPS_LCFGFILE 	= .yapsrc
-***************
-*** 30,34 ****
+  #	Directory for installing the binary
+! YAPS_BINDIR	= /usr/local/bin
+  #	Directory for optional support files
+! YAPS_LIBDIR	= /usr/local/lib/yaps
   #	User/Group/Mode for yaps
   YAPS_USER	= bin
 ! YAPS_GROUP	= uucp
   YAPS_MODE	= 2711
   #	User/Group/Mode for global configuration file
---- 30,34 ----
+  YAPS_RCUSER	= bin
+--- 14,35 ----
+  #LUA	= True
+  #
+  #	Define this to disable debugging
+! NDEBUG	= True
+  #
+  #
+  #
+  #	SECTION B.) yaps configuration
+  #	Name and location of global configuration file
+! YAPS_CFGFILE	= ${PREFIX}/etc/yaps.rc
+  #	Name of local configuration file (location is $HOME.)
+  YAPS_LCFGFILE 	= .yapsrc
+  #	Directory for installing the binary
+! YAPS_BINDIR	= ${PREFIX}/bin
+  #	Directory for optional support files
+! YAPS_LIBDIR	= ${PREFIX}/share/yaps
   #	User/Group/Mode for yaps
   YAPS_USER	= bin
 ! YAPS_GROUP	= dialer
   YAPS_MODE	= 2711
   #	User/Group/Mode for global configuration file
+  YAPS_RCUSER	= bin
+***************
+*** 56,62 ****
+  #
+  ifdef	NDEBUG
+  DDEFS	= -DNDEBUG
+! G	= -O
+  else
+  G	= -g
+  endif
+--- 56,62 ----
+  #
+  ifdef	NDEBUG
+  DDEFS	= -DNDEBUG
+! G	= 
+  else
+  G	= -g
+  endif
diff -urN /usr/ports/comms/yaps/pkg/PLIST comms/yaps/pkg/PLIST
--- /usr/ports/comms/yaps/pkg/PLIST	Fri Oct  9 13:50:07 1998
+++ comms/yaps/pkg/PLIST	Tue Aug  8 20:35:37 2000
@@ -1,7 +1,7 @@
 bin/yaps
-@exec mkdir %D/lib/yaps
+@exec mkdir -p %D/share/yaps
 etc/yaps.rc.sample
 share/doc/yaps/yaps.doc
 share/doc/yaps/yaps.html
 @dirrm share/doc/yaps
-@dirrm lib/yaps
+@unexec rmdir %D/share/yaps 2>/dev/null || true


>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?20000918203243.880CC37B423>