1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/math/fxt/Makefile
Mark Linimon 2cbbb2cfcf USES=compiler:c++11-lang is necessary to build on GCC-based
architectures.

PR:		234385
Submitted by:	Piotr Kubaj
2018-12-26 12:21:18 +00:00

35 lines
757 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= fxt
DISTVERSION= 2018.07.03
CATEGORIES= math
MASTER_SITES= http://www.jjj.de/fxt/
MAINTAINER= ports@FreeBSD.org
COMMENT= FFT code and related stuff
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= compiler:c++11-lang gmake
MAKE_ENV= FXT_INSTALL="${INSTALL_DATA}"
MAKEFILE= makefile
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e \
's|^\(FXT_CXXFLAGS\)|#\1| ; \
s|\([[:space:]]\)\($$(INCDIR)\)|\1$$(DESTDIR)\2|g ; \
s|\([[:space:]]\)\($$(LIBDIR)\)|\1$$(DESTDIR)\2|g' \
${WRKSRC}/makefile
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>