mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-08 02:15:08 +00:00
38 lines
873 B
Makefile
38 lines
873 B
Makefile
# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= octave-forge-database
|
|
PORTVERSION= 2.4.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
|
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
|
|
|
|
BROKEN= does not build with octave>=5.1.0
|
|
|
|
RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:math/octave-forge-struct
|
|
|
|
# OCTSRC is the name of the directory of the package.
|
|
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
|
|
OCTSRC= ${DISTNAME}
|
|
|
|
WRKSRC= ${WRKDIR}/${OCTSRC}/src
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES+= pgsql
|
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
post-build:
|
|
${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
|
|
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's#endian.h#sys/endian.h#' ${WRKSRC}/wrap_endian.h
|
|
|
|
.include <bsd.port.mk>
|