Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 07:09:02 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45926: Update port: devel/cdecl
Message-ID:  <20021203070902.4bae13dc.tkato@prontomail.com>

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

>Number:         45926
>Category:       ports
>Synopsis:       Update port: devel/cdecl
>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 Dec 02 14:20:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build
- Utilize NOPORTDOCS

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/cdecl/Makefile devel/cdecl/Makefile
--- /usr/ports/devel/cdecl/Makefile	Mon Nov 18 19:53:52 2002
+++ devel/cdecl/Makefile	Sat Nov 30 22:44:25 2002
@@ -17,14 +17,14 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-ALL_TARGET=	
+ALL_TARGET=	${PORTNAME}
 MAN1=		cdecl.1
 MLINKS=		cdecl.1 c++decl.1
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/cdecl
-	${INSTALL_DATA} ${WRKSRC}/testset* ${PREFIX}/share/doc/cdecl
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/testset* ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/cdecl/files/patch-01 devel/cdecl/files/patch-01
--- /usr/ports/devel/cdecl/files/patch-01	Mon Feb 14 15:57:44 2000
+++ devel/cdecl/files/patch-01	Sat Nov 30 22:45:44 2002
@@ -1,5 +1,5 @@
---- Makefile.orig	Mon Jan 15 21:36:38 1996
-+++ Makefile	Sun Feb 13 21:21:04 2000
+--- Makefile.orig	Tue Jan 16 14:36:38 1996
++++ Makefile	Sat Nov 30 22:45:23 2002
 @@ -15,13 +15,13 @@
  #
  # add -DUSE_READLINE	To compile in support for the GNU readline library.
@@ -15,7 +15,21 @@
 -CATDIR= /usr/man/cat1
 +BINDIR= $(PREFIX)/bin
 +MANDIR= $(PREFIX)/man/man1
-+CATDIR= $(PREFIX/usr/man/cat1
++CATDIR= $(PREFIX)/man/cat1
  INSTALL= install -c
  INSTALL_DATA= install -c -m 644
  
+@@ -43,10 +43,10 @@
+ 	./c++decl < testset++
+ 
+ install: cdecl
+-	$(INSTALL) cdecl $(BINDIR)
++	${BSD_INSTALL_PROGRAM} cdecl $(BINDIR)
+ 	ln $(BINDIR)/cdecl $(BINDIR)/c++decl
+-	$(INSTALL_DATA) cdecl.1 $(MANDIR)
+-	$(INSTALL_DATA) c++decl.1 $(MANDIR)
++	${BSD_INSTALL_MAN} cdecl.1 $(MANDIR)
++	${BSD_INSTALL_MAN} c++decl.1 $(MANDIR)
+ 
+ clean:
+ 	rm -f cdgram.c cdlex.c cdecl y.output c++decl
diff -urN /usr/ports/devel/cdecl/pkg-plist devel/cdecl/pkg-plist
--- /usr/ports/devel/cdecl/pkg-plist	Wed Nov 22 09:17:12 2000
+++ devel/cdecl/pkg-plist	Sat Nov 30 22:47:30 2002
@@ -1,6 +1,6 @@
 @comment $FreeBSD: ports/devel/cdecl/pkg-plist,v 1.3 2000/11/22 00:17:12 obrien Exp $
 bin/cdecl
 bin/c++decl
-share/doc/cdecl/testset
-share/doc/cdecl/testset++
-@dirrm share/doc/cdecl
+%%PORTDOCS%%share/doc/cdecl/testset
+%%PORTDOCS%%share/doc/cdecl/testset++
+%%PORTDOCS%%@dirrm share/doc/cdecl
>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?20021203070902.4bae13dc.tkato>