diff options
author | lioux <lioux@FreeBSD.org> | 2004-04-13 22:59:18 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2004-04-13 22:59:18 +0000 |
commit | 937eac56dbc57cd74d6c63ad2531f0ad2cf99915 (patch) | |
tree | 6020d4dbe08827da7129965b945a2a561dc09e80 /math | |
parent | 71b218abd8e3de4b1d353a16b6c5439d130c0c53 (diff) | |
download | FreeBSD-ports-937eac56dbc57cd74d6c63ad2531f0ad2cf99915.zip FreeBSD-ports-937eac56dbc57cd74d6c63ad2531f0ad2cf99915.tar.gz |
o Override distfile's install procedure so that the port does not
inadvertently mess directory permissions under LOCALBASE
o Therefore, remove BROKEN
o Bump PORTREVISION since users should update to this fixed version
Prompted by: kris
Diffstat (limited to 'math')
-rw-r--r-- | math/djbfft/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile index efb5347..a3a840d 100644 --- a/math/djbfft/Makefile +++ b/math/djbfft/Makefile @@ -7,6 +7,7 @@ PORTNAME= djbfft PORTVERSION= 0.76 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://cr.yp.to/djbfft/ @@ -15,13 +16,15 @@ COMMENT= An extremely fast library for floating-point convolution NO_PACKAGE= Forbidden - we have patches to the distribution. -BROKEN= "Changes permissions on /usr/local and /usr/local/lib" - DISABLE_SIZE= yes ALL_TARGET= INSTALL_TARGET=setup check USE_PERL5_BUILD=yes +HEADER_FILES= complex4.h complex8.h fftc4.h fftc8.h fftfreq.h \ + fftr4.h fftr8.h real4.h real8.h +LIB_FILES= libdjbfft.a + post-patch: @${FIND} ${WRKSRC} -type f -exec \ ${PERL} -pi -e 's!(djbfft.a)!lib\1!' {} \; @@ -44,6 +47,14 @@ do-configure: pre-install: @${MKDIR} ${PREFIX}/include/${PORTNAME} +do-install: +.for file in ${HEADER_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${LOCALBASE}/include/${PORTNAME} +.endfor +.for file in ${LIB_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${LOCALBASE}/lib +.endfor + .include <bsd.port.pre.mk> pre-everything:: |