aboutsummaryrefslogtreecommitdiffstats
path: root/math/fftw
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-04 00:11:26 +0800
committermiwi <miwi@FreeBSD.org>2012-05-04 00:11:26 +0800
commit36f6274cdbb447df92ace8228ffdd980e231690b (patch)
tree25527d8699d97b7ece4884b2088e677313447edc /math/fftw
parent238d8d806b9489f52309e4d956c285b941fe10c3 (diff)
downloadfreebsd-ports-gnome-36f6274cdbb447df92ace8228ffdd980e231690b.tar.gz
freebsd-ports-gnome-36f6274cdbb447df92ace8228ffdd980e231690b.tar.zst
freebsd-ports-gnome-36f6274cdbb447df92ace8228ffdd980e231690b.zip
- Disable installing INFO on float flavor
- Add PORTSCOUT PR: 166890 Submitted by: Ports Fury
Diffstat (limited to 'math/fftw')
-rw-r--r--math/fftw/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/math/fftw/Makefile b/math/fftw/Makefile
index 530f6632e8a2..d09824493922 100644
--- a/math/fftw/Makefile
+++ b/math/fftw/Makefile
@@ -26,15 +26,17 @@ FFTW_SUFIX=
USE_FORTRAN= yes
USE_GMAKE= yes
-USE_AUTOTOOLS= autoconf:env automake:env libtool
+USE_AUTOTOOLS= aclocal automake autoconf libtool
+ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --enable-shared
-INFO= fftw
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
PLIST_SUB= FFTW_SUFX="${FFTW_SUFX}"
+PORTSCOUT= limit:^2\.
+
.include <bsd.port.pre.mk>
.if ${FFTW_FLAVOR}=="float"
@@ -43,6 +45,7 @@ FFTW_SUFX= s
FFTW_PKGNAMESUFFIX= -float
PLIST_SUB+= DEF="@comment "
.else
+INFO= fftw
PLIST_SUB+= DEF=""
.endif
@@ -55,16 +58,16 @@ BROKEN= does not build
.endif
post-patch:
- @${RM} ${WRKSRC}/doc/fftw.info*
-.if ${FFTW_FLAVOR}=="float"
- @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
-.endif
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc | |' ${WRKSRC}/Makefile.am
-pre-configure:
- @(cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF})
+post-build:
+.if ${FFTW_FLAVOR}=="default"
+ @cd ${WRKSRC}/doc && makeinfo fftw.texi
+.endif
post-install:
.if ${FFTW_FLAVOR}=="default"
+ ${INSTALL_DATA} ${WRKSRC}/doc/fftw.info ${PREFIX}/${INFO_PATH}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/fftw.ps ${DOCSDIR}/fftw.ps