ports/166890: math/fftw: Disable installing INFO on float flavor

KATO Tsuguru tkato432 at yahoo.com
Thu Apr 12 18:40:14 UTC 2012


>Number:         166890
>Category:       ports
>Synopsis:       math/fftw: Disable installing INFO on float flavor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 18:40:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
math/fftw: Disable installing INFO on float flavor
>Environment:
>Description:
- Disable installing INFO on float flavor
- Add PORTSCOUT

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	math_fftw.diff
#	math_fftw-float.diff
#
echo x - math_fftw.diff
sed 's/^X//' >math_fftw.diff << '5eaff8dd54607a99a48161bfb4f6d808'
Xdiff -urN /usr/ports/math/fftw/Makefile math/fftw/Makefile
X--- /usr/ports/math/fftw/Makefile	2012-04-10 10:34:04.000000000 +0900
X+++ math/fftw/Makefile	2012-04-13 00:44:26.000000000 +0900
X@@ -26,15 +26,17 @@
X 
X USE_FORTRAN=	yes
X USE_GMAKE=	yes
X-USE_AUTOTOOLS=	autoconf:env automake:env libtool
X+USE_AUTOTOOLS=	aclocal automake autoconf libtool
X+ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
X CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
X CONFIGURE_ARGS=	--enable-shared
X-INFO=		fftw
X USE_LDCONFIG=	yes
X MAKE_JOBS_SAFE=	yes
X 
X PLIST_SUB=	FFTW_SUFX="${FFTW_SUFX}"
X 
X+PORTSCOUT=	limit:^2\.
X+
X .include <bsd.port.pre.mk>
X 
X .if ${FFTW_FLAVOR}=="float"
X@@ -43,6 +45,7 @@
X FFTW_PKGNAMESUFFIX=	-float
X PLIST_SUB+=	DEF="@comment "
X .else
X+INFO=			fftw
X PLIST_SUB+=	DEF=""
X .endif
X 
X@@ -55,16 +58,16 @@
X .endif
X 
X post-patch:
X-	@${RM} ${WRKSRC}/doc/fftw.info*
X-.if ${FFTW_FLAVOR}=="float"
X-	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
X-.endif
X+	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc | |' ${WRKSRC}/Makefile.am
X 
X-pre-configure:
X-	@(cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF})
X+post-build:
X+.if ${FFTW_FLAVOR}=="default"
X+	@cd ${WRKSRC}/doc && makeinfo fftw.texi
X+.endif
X 
X post-install:
X .if ${FFTW_FLAVOR}=="default"
X+	${INSTALL_DATA} ${WRKSRC}/doc/fftw.info ${PREFIX}/${INFO_PATH}
X .if !defined(NOPORTDOCS)
X 	@${MKDIR} ${DOCSDIR}
X 	${INSTALL_DATA} ${WRKSRC}/doc/fftw.ps ${DOCSDIR}/fftw.ps
5eaff8dd54607a99a48161bfb4f6d808
echo x - math_fftw-float.diff
sed 's/^X//' >math_fftw-float.diff << 'bb4917eee80cdc5d85738ad4ff3f72fa'
Xdiff -urN /usr/ports/math/fftw-float/Makefile math/fftw-float/Makefile
X--- /usr/ports/math/fftw-float/Makefile	2007-02-12 13:35:13.000000000 +0900
X+++ math/fftw-float/Makefile	2012-04-10 10:20:47.000000000 +0900
X@@ -5,7 +5,7 @@
X # $FreeBSD: ports/math/fftw-float/Makefile,v 1.3 2007/02/10 22:46:34 sat Exp $
X #
X 
X-PORTREVISION=	1
X+PORTREVISION=	2
X 
X COMMENT=	Fast C routines (Single Percision)
X 
bb4917eee80cdc5d85738ad4ff3f72fa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list