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
28 lines
566 B
Makefile
28 lines
566 B
Makefile
PORTNAME= octave-forge-coder
|
|
DISTVERSIONPREFIX= coder-
|
|
DISTVERSION= 1.7.0
|
|
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
|
|
|
|
USES= octave
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= shsajjadi
|
|
GH_PROJECT= OctaveCoder
|
|
|
|
OCTAVE_SRC= ${GH_PROJECT}-coder-${DISTVERSION}
|
|
|
|
WRKSRC= ${WRKDIR}/${OCTAVE_SRC}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
octave-cli -W -H -q --no-site-file --eval "pre_install" && \
|
|
${RM} pre_install.m
|
|
|
|
.include <bsd.port.mk>
|