8231864a3b
As part of the improvements of USES infrastructure Mk/bsd.octave.mk has been converted to Mk/Uses/octave.mk. This also declutters some old stuffs in the octave-* ports and makes it simpler to add more octave-forge ports easily. While I am here make all the ports portclippy/portfmt compliant. And use USES macros whenever possible. Reviewed by: portmgr Approved by: tcberner Differential Revision: https://reviews.freebsd.org/D37887
27 lines
557 B
Makefile
27 lines
557 B
Makefile
PORTNAME= octave-forge-csg-toolkit
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.2.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
|
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
|
|
WWW= https://packages.octave.org/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKDIR}/${OCTAVE_SRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${OCTAVE_TARBALLS_DIR}/io.tar.gz:math/octave-forge-io
|
|
|
|
USES= compiler octave
|
|
USE_GCC= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pr0m1th3as
|
|
GH_PROJECT= ${OCTAVE_PKGNAME}
|
|
|
|
CXXFLAGS+= -stdlib=libstdc++
|
|
|
|
OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
|
|
|
|
.include <bsd.port.mk>
|