From owner-freebsd-ports Tue Sep 17 10:30:51 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2C5C37B407 for ; Tue, 17 Sep 2002 10:30:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5C2643E91 for ; Tue, 17 Sep 2002 10:30:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8HHUJCo017925 for ; Tue, 17 Sep 2002 10:30:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8HHUJcM017922; Tue, 17 Sep 2002 10:30:19 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D7AE37B428 for ; Tue, 17 Sep 2002 10:24:20 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F5244078 for ; Tue, 17 Sep 2002 10:00:12 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8HH0COT022057 for ; Tue, 17 Sep 2002 10:00:12 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g8HH0B4f022056; Tue, 17 Sep 2002 10:00:11 -0700 (PDT) Message-Id: <200209171700.g8HH0B4f022056@www.freebsd.org> Date: Tue, 17 Sep 2002 10:00:11 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/42897: Update port: security/ccrypt Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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