diff options
author | krion <krion@FreeBSD.org> | 2004-10-12 20:59:39 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-10-12 20:59:39 +0800 |
commit | b847c16670504718544a0b591ac8988333b241d0 (patch) | |
tree | 4b495caae85ec837ce90987ae8ef33de3384aae5 /math/fxt/Makefile | |
parent | 65737e88a00dad8d939a34e6b039568636513d53 (diff) | |
download | freebsd-ports-gnome-b847c16670504718544a0b591ac8988333b241d0.tar.gz freebsd-ports-gnome-b847c16670504718544a0b591ac8988333b241d0.tar.zst freebsd-ports-gnome-b847c16670504718544a0b591ac8988333b241d0.zip |
Update to version 2004.10.04
PR: ports/72531
Submitted by: Ports Fury
Diffstat (limited to 'math/fxt/Makefile')
-rw-r--r-- | math/fxt/Makefile | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/math/fxt/Makefile b/math/fxt/Makefile index c6bea66f6a98..5ccccd2f1f02 100644 --- a/math/fxt/Makefile +++ b/math/fxt/Makefile @@ -7,8 +7,7 @@ # PORTNAME= fxt -PORTVERSION= 2003.02.18 -PORTREVISION= 1 +PORTVERSION= 2004.10.04 CATEGORIES= math MASTER_SITES= http://www.jjj.de/fxt/ EXTRACT_SUFX= .tgz @@ -18,14 +17,34 @@ COMMENT= FFT code and related stuff WRKSRC= ${WRKDIR}/${PORTNAME} +USE_GCC= 3.4 +USE_REINPLACE= yes USE_GMAKE= yes MAKEFILE= makefile - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile with gcc 3.4.2" +MAKE_ENV= CXX="${CXX}" OFLAGS="${CXXFLAGS}" + +post-patch: + @${REINPLACE_CMD} -e 's|^OFLAGS|#OFLAGS|g ; \ + s|^ARCHFLAG|#ARCHFLAG|g ; \ + s|^WFLAGS|#WFLAGS|g ; \ + s|^GFLAGS|#GFLAGS|g ; \ + s|^PFLAGS|#PFLAGS|g ; \ + s|^FXT_CXXFLAGS|#FXT_CXXFLAGS|g' ${WRKSRC}/makefile + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libfxt.a ${PREFIX}/lib + @${MKDIR} ${PREFIX}/include/fxt + ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/fxt +.for dir in aux0 aux1 aux2 bits bmat bpol chirpzt correlation comb \ + comb/bucket convolution dctdst demo ds fft fht graph graph/bucket \ + haar matrix matrixfft mod mult ntt perm perm/bucket realfft simplfft \ + sort sort/bucket test walsh wavelet + @${MKDIR} ${PREFIX}/include/fxt/${dir} + ${INSTALL_DATA} ${WRKSRC}/${dir}/*.h ${PREFIX}/include/fxt/${dir} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/00*.txt ${DOCSDIR} .endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |