1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/cad/pdnmesh/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

53 lines
1.4 KiB
Makefile

# Created by: Sarod Yatawatta <sarod@cs.pdn.ac.lk>
# $FreeBSD$
PORTNAME= pdnmesh
PORTVERSION= 0.2.2
PORTREVISION= 17
CATEGORIES= cad
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mesh generator and solver for Finite Element problems
LICENSE= GPLv2+
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
OPTIONS_DEFINE= ATLAS DOCS EXAMPLES
ATLAS_DESC= Enable ATLAS support
USES= compiler:c++11-lang fortran gl gnome pkgconfig
USE_GL= glu
USE_GNOME= gtk20
GNU_CONFIGURE= yes
LDFLAGS+= -lm
DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" true
ATLAS_USES= blaslapack:atlas
ATLAS_CONFIGURE_ON=--with-blas=cblas --with-lapack=alapack
ATLAS_USES_OFF= blaslapack
ATLAS_CONFIGURE_OFF=--with-blas=blas --with-lapack=lapack
post-patch:
@${REINPLACE_CMD}-e \
'/^SUBDIRS/s|doc|| ; \
s|^pkgdata_DATA|#pkgdata_DATA|' ${WRKSRC}/Makefile.in
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} \
&& ${INSTALL_DATA} ChangeLog ${STAGEDIR}${DOCSDIR} \
&& ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
${MKDIR} ${STAGEDIR}${DOCSDIR}/tutorial
(cd ${WRKSRC}/doc/tutorial \
&& ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}/tutorial \
&& ${INSTALL_DATA} tutorial.* ${STAGEDIR}${DOCSDIR}/tutorial)
post-install-EXAMPLES-on:
(cd ${WRKSRC}/doc/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile*
.include <bsd.port.mk>