ports/math/octave-forge-sqlite/Makefile
Stephen Montgomery-Smith 7fae97b39a math/octave-forge-sqlite: Fix build error.
Reported by:	pkg-fallout@
2022-10-30 18:23:07 -05:00

35 lines
793 B
Makefile

PORTNAME= octave-forge-sqlite
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.2
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WWW= https://packages.octave.org/
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
USES= autoreconf pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= gnu-octave
GH_PROJECT= octave-sqlite
LIB_DEPENDS+= libsqlite3.so:databases/sqlite3
GNU_CONFIGURE= yes
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${GH_PROJECT}-${DISTVERSION}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-build:
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.mk>