ports/101589: [PATCH] math/fxt: update to 2006.07.04, take maintainership
Stanislav Sedov
ssedov at mbsd.msk.ru
Mon Aug 7 17:00:36 UTC 2006
>Number: 101589
>Category: ports
>Synopsis: [PATCH] math/fxt: update to 2006.07.04, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 07 17:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Stanislav Sedov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD
>Description:
- Update to 2006.07.04
- Take maintainership
>How-To-Repeat:
>Fix:
--- fxt-2006.07.04.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/fxt/Makefile /var/tmp/ruby/fxt/Makefile
--- /usr/ports/math/fxt/Makefile Sun Jun 25 00:28:03 2006
+++ /var/tmp/ruby/fxt/Makefile Mon Aug 7 20:55:11 2006
@@ -7,13 +7,13 @@
#
PORTNAME= fxt
-PORTVERSION= 2006.06.22
+PORTVERSION= 2006.07.04
CATEGORIES= math
MASTER_SITES= http://www.jjj.de/fxt/ \
http://freebsd.unixfreunde.de/sources/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ssedov at mbsd.msk.ru
COMMENT= FFT code and related stuff
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -21,7 +21,14 @@
USE_GCC= 3.4+
USE_GMAKE= yes
MAKEFILE= makefile
-MAKE_ENV= CXX="${CXX}" OFLAGS="${CXXFLAGS}"
+MAKE_ENV= CXX="${CXX}"
+
+# XXX: exists untill it will be committed to bsd.port.mk
+COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
+ 2>&1) && \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
+ ${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \
+ ${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' --
PLIST_FILES= lib/libfxt.a
@@ -30,22 +37,14 @@
.endif
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
+ @${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
-do-install:
- ${INSTALL_DATA} ${WRKSRC}/libfxt.a ${PREFIX}/lib
- @${MKDIR} ${PREFIX}/include/fxt
- cd ${WRKSRC}/src && ${FIND} . -name "*.h" | \
- ${CPIO} -pdm -L -R ${SHAROWN}:${SHAREGRP} ${PREFIX}/include/fxt
- @${FIND} ${PREFIX}/include/fxt -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
- @${FIND} ${PREFIX}/include/fxt -type d | ${XARGS} ${CHMOD} ${BINMODE}
+post-install:
@${FIND} ${PREFIX}/include/fxt ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/include/fxt -type d | ${SORT} -r | \
@@ -53,6 +52,13 @@
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/00*.txt ${DOCSDIR}
+
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/demo && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+ @${FIND} ${EXAMPLESDIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/math/fxt/distinfo /var/tmp/ruby/fxt/distinfo
--- /usr/ports/math/fxt/distinfo Sun Jun 25 00:28:03 2006
+++ /var/tmp/ruby/fxt/distinfo Mon Aug 7 15:01:33 2006
@@ -1,3 +1,3 @@
-MD5 (fxt-2006.06.22.tgz) = 18ee0b271e0bcb7269537de323e6769e
-SHA256 (fxt-2006.06.22.tgz) = a8daacafb37f2ecf78907e5e66facf0bcf9a675b9ac312ed3401f228ead64159
-SIZE (fxt-2006.06.22.tgz) = 837589
+MD5 (fxt-2006.07.04.tgz) = 5740cd360244148c669f63e2a66a5b42
+SHA256 (fxt-2006.07.04.tgz) = b542d590b2a1d5953b7ec05bde5134af6782ecb834b82042941ce602b25d3cff
+SIZE (fxt-2006.07.04.tgz) = 846908
--- fxt-2006.07.04.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list