Lines 2-34
Link Here
|
2 |
# $FreeBSD: head/math/fxt/Makefile 405387 2016-01-06 19:48:08Z pawel $ |
2 |
# $FreeBSD: head/math/fxt/Makefile 405387 2016-01-06 19:48:08Z pawel $ |
3 |
|
3 |
|
4 |
PORTNAME= fxt |
4 |
PORTNAME= fxt |
5 |
PORTVERSION= 2015.07.17 |
5 |
PORTVERSION= 2016.01.10 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= math |
6 |
CATEGORIES= math |
8 |
MASTER_SITES= http://www.jjj.de/fxt/ |
7 |
MASTER_SITES= http://www.jjj.de/fxt/ |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= FFT code and related stuff |
10 |
COMMENT= FFT code and related stuff |
12 |
|
11 |
|
13 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3+ |
|
|
13 |
LICENSE_FILE= ${WRKSRC}/COPYING.txt |
14 |
|
14 |
|
15 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
15 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
16 |
|
16 |
|
17 |
USES= gmake tar:tgz |
17 |
USES= gmake tar:tgz |
|
|
18 |
MAKE_ENV= FXT_INSTALL="${INSTALL_DATA}" |
18 |
MAKEFILE= makefile |
19 |
MAKEFILE= makefile |
19 |
|
20 |
|
20 |
OPTIONS_DEFINE= EXAMPLES |
21 |
OPTIONS_DEFINE= EXAMPLES |
21 |
|
22 |
|
22 |
post-patch: |
23 |
post-patch: |
23 |
@${REINPLACE_CMD} -E \ |
24 |
@${REINPLACE_CMD} -e \ |
24 |
-e 's,^(FXT_CXXFLAGS),#\1,' \ |
25 |
's|^\(FXT_CXXFLAGS\)|#\1| ; \ |
25 |
-e 's,^(CXXFLAGS),#\1,' \ |
26 |
s|\([[:space:]]\)\($$(INCDIR)\)|\1$$(DESTDIR)\2|g ; \ |
26 |
${WRKSRC}/makefile |
27 |
s|\([[:space:]]\)\($$(LIBDIR)\)|\1$$(DESTDIR)\2|g' \ |
27 |
@${REINPLACE_CMD} -e 's|sinl|Sin|g' ${WRKSRC}/src/aux0/trigrec.h |
28 |
${WRKSRC}/makefile |
28 |
@${REINPLACE_CMD} -e 's|sinl|sin|g' ${WRKSRC}/src/fht/hartleyshift.h |
|
|
29 |
|
29 |
|
30 |
post-install-EXAMPLES-on: |
30 |
post-install-EXAMPLES-on: |
31 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
31 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
32 |
(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/) |
32 |
@(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . \ |
|
|
33 |
${STAGEDIR}${EXAMPLESDIR}) |
33 |
|
34 |
|
34 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |