Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 13:10:03 -0800 (PST)
From:      "KATO Tsuguru" <tkato@prontomail.ne.jp>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/24091: [ PORT - FIX ] devel/cs
Message-ID:  <200101052110.f05LA3g74702@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/24091; it has been noted by GNATS.

From: "KATO Tsuguru" <tkato@prontomail.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: joseph@randomnetworks.com
Subject: Re: ports/24091: [ PORT - FIX ] devel/cs
Date: Sat, 6 Jan 2001 06:08:09 +0900

 > ** NOTE **
 > I ended up doing something strange with WRKSRC to make this whole thing work
 > again.  I don't know if this is really the right way to do this or not.  If
 > I'm work, please drop me an email letting me know the correct way.
 
 Well, what you wanted to do would be as follows:
 
 diff -urN /usr/ports/devel/cs/Makefile cs/Makefile
 --- /usr/ports/devel/cs/Makefile	Mon Dec 25 19:45:39 2000
 +++ cs/Makefile	Sat Jan  6 06:01:54 2001
 @@ -8,22 +8,22 @@
  PORTNAME=	cs
  PORTVERSION=	0.5
  CATEGORIES=	devel
 -MASTER_SITES=	ftp://cantor.informatik.rwth-aachen.de/pub/unix/
 +MASTER_SITES=	http://www.moria.de/~michael/cs/
 +DISTNAME=	${PORTNAME}
  
  MAINTAINER=	ports@FreeBSD.org
  
 +WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 +
  ALL_TARGET=	cs
  MAN1=		cs.1
  
  do-install:
 -	@ ${INSTALL_PROGRAM} ${WRKSRC}/cs ${PREFIX}/bin
 -	@ ${INSTALL_MAN} ${WRKSRC}/cs.1 ${PREFIX}/man/man1
 -
 -post-install:
 +	${INSTALL_PROGRAM} ${WRKSRC}/cs ${PREFIX}/bin
 +	${INSTALL_MAN} ${WRKSRC}/cs.1 ${MANPREFIX}/man/man1
  .if !defined(NOPORTDOCS)
 -	@ ${MKDIR} ${PREFIX}/share/doc/cs
 -	@ ${INSTALL_DATA} ${WRKSRC}/ANNOUNCE ${PREFIX}/share/doc/cs
 -	@ ${INSTALL_DATA} ${WRKSRC}/cs.html ${PREFIX}/share/doc/cs
 +	@${MKDIR} ${PREFIX}/share/doc/cs
 +	${INSTALL_DATA} ${WRKSRC}/ANNOUNCE ${PREFIX}/share/doc/cs
  .endif
  
  .include <bsd.port.mk>
 diff -urN /usr/ports/devel/cs/distinfo cs/distinfo
 --- /usr/ports/devel/cs/distinfo	Wed Dec 16 09:01:28 1998
 +++ cs/distinfo	Sat Jan  6 05:59:08 2001
 @@ -1 +1 @@
 -MD5 (cs-0.5.tar.gz) = 61f8ea27a169e86e3e5e6eda4585e688
 +MD5 (cs.tar.gz) = 3cd38e56f0b7b14f3cd60ec2fcb60e51
 diff -urN /usr/ports/devel/cs/files/patch-aa cs/files/patch-aa
 --- /usr/ports/devel/cs/files/patch-aa	Wed Dec 16 09:01:28 1998
 +++ cs/files/patch-aa	Sat Jan  6 06:02:29 2001
 @@ -1,5 +1,5 @@
 ---- Makefile	Sat Sep 19 19:10:58 1998
 -+++ /home/andy/tmp/wrk/Makefile	Tue Dec 15 20:44:22 1998
 +--- Makefile.orig	Sat Sep 25 06:33:12 1999
 ++++ Makefile	Fri Jan  5 11:09:24 2001
  @@ -2,7 +2,7 @@
   #DB=		BINARY_DB
   
 @@ -18,11 +18,11 @@
  -#LIBS=		-lncurses -lmytinfo
  -#LDFLAGS=	
  -#MAKEDEPEND=	gcc -MM
 -+CFLAGS+=		-pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common $(CPPFLAGS)
 ++CFLAGS+=		-pedantic -fno-common $(CPPFLAGS)
  +CPPFLAGS=	-I.curses.h -DNO_POSIX_SOURCE -D$(DB)
  +LIBS=		-lncurses -lmytinfo
  +LDFLAGS=	
 -+MAKEDEPEND=	gcc -MM
 ++MAKEDEPEND=	${CC} -MM
   #}}}
   #{{{ BSDI
   #CC=		gcc
 diff -urN /usr/ports/devel/cs/pkg-descr cs/pkg-descr
 --- /usr/ports/devel/cs/pkg-descr	Fri May 23 16:58:58 1997
 +++ cs/pkg-descr	Sat Jan  6 05:59:09 2001
 @@ -17,3 +17,5 @@
       * POSIX
       * ANSI C
       * SYSV curses library
 +
 +WWW: http://www.moria.de/~michael/cs/
 diff -urN /usr/ports/devel/cs/pkg-plist cs/pkg-plist
 --- /usr/ports/devel/cs/pkg-plist	Wed Dec 16 09:01:28 1998
 +++ cs/pkg-plist	Sat Jan  6 05:59:09 2001
 @@ -1,4 +1,3 @@
  bin/cs
  share/doc/cs/ANNOUNCE
 -share/doc/cs/cs.html
  @dirrm share/doc/cs
 
 
 
 -- 
 KATO Tsuguru / tkato@prontomail.ne.jp
                              
 Sent by Japanese ProntoMail
 


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?200101052110.f05LA3g74702>