- Disable installing INFO on float flavor

- Add PORTSCOUT

PR:		166890
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2012-05-03 16:11:26 +00:00
parent 24229e4be2
commit 9f5b3d910b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295967
2 changed files with 12 additions and 9 deletions

View file

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 1
PORTREVISION= 2
COMMENT= Fast C routines (Single Percision)

View file

@ -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