mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 19:35:28 -04:00
35 lines
793 B
Makefile
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>
|