Detailed submitter log: - Update to 1.0.1 - Switched to Github - Has newest sources - Updated WWW in pkg-desc - Current www doesn't exist - Removed doc depends/build - Does not build/install - Removed doxygen dir - Not needed/used PR: 230833 [1], 230674 [2] Submitted by: ndowens@yahoo.com [1] Reported by: lantw44@gmail.com [2] MFH: 2018Q3
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= blitz++
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ class library for scientific computing
|
|
|
|
LICENSE= GPLv3 BSD3CLAUSE
|
|
LICENSE_COMB= multi
|
|
|
|
BROKEN_FreeBSD_12= fails to compile: ../blitz/blitz.h:58:12: 'iostream.h' file not found
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake libtool pathfix python
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS= --enable-shared CXX_OPTIMIZE_FLAGS="${CFLAGS}"
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= blitzpp
|
|
GH_PROJECT= blitz
|
|
|
|
PORTDOCS= AUTHORS ChangeLog* LEGAL README NEWS \
|
|
README.binutils TODO doc/*.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
DOCS_INFO= blitz
|
|
DOCS_SUB_PLIST= ""
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|g++|\$${CXX}|g ; \
|
|
s|"-ftemplate-depth-30|"\$${CXXFLAGS} -ftemplate-depth-30|g ; \
|
|
s|-O3|-O2|g ; s|-funroll-loops||g' ${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e 's,python,${PYTHON_CMD},' ${WRKSRC}/blitz/generate/Makefile.in
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install:
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/share/doc/blitz-0.10
|
|
|
|
.include <bsd.port.mk>
|