diff options
author | mat <mat@FreeBSD.org> | 2016-03-08 07:01:06 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-03-08 07:01:06 +0800 |
commit | 3a9b719a7134db3f200f072c396a830758e7f4bd (patch) | |
tree | a062cd82fb062e9fe05164078bce0db758f87a34 /math | |
parent | 46e8aa4feee4265228095b791e7e8e0db444c62b (diff) | |
download | freebsd-ports-graphics-3a9b719a7134db3f200f072c396a830758e7f4bd.tar.gz freebsd-ports-graphics-3a9b719a7134db3f200f072c396a830758e7f4bd.tar.zst freebsd-ports-graphics-3a9b719a7134db3f200f072c396a830758e7f4bd.zip |
Update to 2016.02.27
PR: 206895
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Diffstat (limited to 'math')
-rw-r--r-- | math/fxt/Makefile | 20 | ||||
-rw-r--r-- | math/fxt/distinfo | 4 | ||||
-rw-r--r-- | math/fxt/files/patch-makefile | 22 |
3 files changed, 12 insertions, 34 deletions
diff --git a/math/fxt/Makefile b/math/fxt/Makefile index 05fd6198cf8..2fce4bf3644 100644 --- a/math/fxt/Makefile +++ b/math/fxt/Makefile @@ -2,33 +2,33 @@ # $FreeBSD$ PORTNAME= fxt -PORTVERSION= 2015.07.17 -PORTREVISION= 1 +PORTVERSION= 2016.02.27 CATEGORIES= math MASTER_SITES= http://www.jjj.de/fxt/ MAINTAINER= ports@FreeBSD.org COMMENT= FFT code and related stuff -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING.txt WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake tar:tgz +MAKE_ENV= FXT_INSTALL="${INSTALL_DATA}" MAKEFILE= makefile OPTIONS_DEFINE= EXAMPLES post-patch: - @${REINPLACE_CMD} -E \ - -e 's,^(FXT_CXXFLAGS),#\1,' \ - -e 's,^(CXXFLAGS),#\1,' \ - ${WRKSRC}/makefile - @${REINPLACE_CMD} -e 's|sinl|Sin|g' ${WRKSRC}/src/aux0/trigrec.h - @${REINPLACE_CMD} -e 's|sinl|sin|g' ${WRKSRC}/src/fht/hartleyshift.h + @${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}/) + (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> diff --git a/math/fxt/distinfo b/math/fxt/distinfo index 66cf43505de..e676f8749d9 100644 --- a/math/fxt/distinfo +++ b/math/fxt/distinfo @@ -1,2 +1,2 @@ -SHA256 (fxt-2015.07.17.tgz) = 516f7b1bfd8df05ce5696ba2773662ca6cdc550024dd3d8012dc341b19f648ad -SIZE (fxt-2015.07.17.tgz) = 1810832 +SHA256 (fxt-2016.02.27.tgz) = ebd6023876a1f15b8a1728f6a29b5acc98f977e07eb0da9df68220922233597e +SIZE (fxt-2016.02.27.tgz) = 1826058 diff --git a/math/fxt/files/patch-makefile b/math/fxt/files/patch-makefile deleted file mode 100644 index 0d91ce125e1..00000000000 --- a/math/fxt/files/patch-makefile +++ /dev/null @@ -1,22 +0,0 @@ ---- makefile.orig 2015-07-18 10:34:30 UTC -+++ makefile -@@ -197,13 +197,13 @@ install: lib - : '[$@]' - @echo 'PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR)' - @: -- @test -d $(INCDIR) || mkdir $(INCDIR) -- @$(FXT_INSTALL) $(FXTIDIR)/*.h $(INCDIR)/ -- @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(INCDIR)/$$f; done -- @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(INCDIR)/$$f; done -+ @test -d $(DESTDIR)$(INCDIR) || mkdir $(DESTDIR)$(INCDIR) -+ @$(FXT_INSTALL) $(FXTIDIR)/*.h $(DESTDIR)$(INCDIR)/ -+ @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(DESTDIR)$(INCDIR)/$$f; done -+ @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(DESTDIR)$(INCDIR)/$$f; done - @: -- @test -d $(LIBDIR) || mkdir $(LIBDIR) -- @$(FXT_INSTALL) $(FXTLIB) $(LIBDIR)/ -+ @test -d $(DESTDIR)$(LIBDIR) || mkdir $(DESTDIR)$(LIBDIR) -+ @$(FXT_INSTALL) $(FXTLIB) $(DESTDIR)$(LIBDIR)/ - : '[$@ OK]' - - .PHONY: chk-install ##x print whether installed header files are up to date |