Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 10:00:11 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42897: Update port: security/ccrypt
Message-ID:  <200209171700.g8HH0B4f022056@www.freebsd.org>

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

>Number:         42897
>Category:       ports
>Synopsis:       Update port: security/ccrypt
>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:   Tue Sep 17 10:30:19 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly
- Utilize NOPORTDOCS

New file:
files/patch-src::Makefilein

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/security/ccrypt/Makefile security/ccrypt/Makefile
--- /usr/ports/security/ccrypt/Makefile	Tue Sep 10 20:26:09 2002
+++ security/ccrypt/Makefile	Sun Sep 15 09:21:27 2002
@@ -8,6 +8,7 @@
 
 PORTNAME=	ccrypt
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/
@@ -15,11 +16,11 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 
 MAN1=	ccrypt.1
@@ -28,6 +29,12 @@
 	ccrypt.1 ccat.1
 
 post-patch:
-	@${REINPLACE_CMD} -e "s,gtar,tar,g" ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS) 
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/ ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/security/ccrypt/files/patch-doc::Makefile.in security/ccrypt/files/patch-doc::Makefile.in
--- /usr/ports/security/ccrypt/files/patch-doc::Makefile.in	Thu Feb  7 10:13:35 2002
+++ security/ccrypt/files/patch-doc::Makefile.in	Sun Sep 15 09:24:39 2002
@@ -1,11 +1,20 @@
---- doc/Makefile.in.orig	Thu Feb  7 09:08:51 2002
-+++ doc/Makefile.in	Thu Feb  7 09:09:31 2002
-@@ -75,7 +75,7 @@
+--- doc/Makefile.in.orig	Wed Jan 30 14:15:42 2002
++++ doc/Makefile.in	Sun Sep 15 09:24:14 2002
+@@ -195,7 +195,7 @@
+ install-exec-am:
+ install-exec: install-exec-am
  
- EXTRA_DIST = ccrypt.1.in man2html.sed cypfaq01.txt
+-install-data-am: install-man install-htmlDATA
++install-data-am: install-man # install-htmlDATA
+ 	@$(NORMAL_INSTALL)
+ 	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-data: install-data-am
+@@ -210,7 +210,7 @@
+ install-strip:
+ 	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+ installdirs:
+-	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(htmldir)
++	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 # $(DESTDIR)$(htmldir)
  
--htmldir = $(prefix)/doc/ccrypt
-+htmldir = $(prefix)/share/doc/ccrypt
- 
- DISTCLEANFILES = ccrypt.ps ccrypt.html
  
+ mostlyclean-generic:
diff -urN /usr/ports/security/ccrypt/files/patch-src::Makefile.in security/ccrypt/files/patch-src::Makefile.in
--- /usr/ports/security/ccrypt/files/patch-src::Makefile.in	Thu Jan  1 09:00:00 1970
+++ security/ccrypt/files/patch-src::Makefile.in	Sun Sep 15 09:26:59 2002
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	Wed Jan 30 14:15:42 2002
++++ src/Makefile.in	Sun Sep 15 09:26:45 2002
+@@ -76,7 +76,7 @@
+ VERSION = @VERSION@
+ lispdir = @lispdir@
+ 
+-CFLAGS = -O3
++CFLAGS = @CFLAGS@
+ 
+ bin_PROGRAMS = ccrypt
+ noinst_PROGRAMS = maketables
diff -urN /usr/ports/security/ccrypt/pkg-plist security/ccrypt/pkg-plist
--- /usr/ports/security/ccrypt/pkg-plist	Thu Feb  7 10:13:35 2002
+++ security/ccrypt/pkg-plist	Sun Sep 15 09:29:18 2002
@@ -2,5 +2,5 @@
 bin/ccdecrypt
 bin/ccencrypt
 bin/ccrypt
-share/doc/ccrypt/ccrypt.html
-@dirrm share/doc/ccrypt
+%%PORTDOCS%%share/doc/ccrypt/ccrypt.html
+%%PORTDOCS%%@dirrm share/doc/ccrypt

>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?200209171700.g8HH0B4f022056>