freebsd-ports/math/octave-forge-database/Makefile
Muhammad Moinur Rahman 8231864a3b Mk/**octave.mk: Convert to USES=octave
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
2022-12-30 11:54:39 -06:00

25 lines
615 B
Makefile

PORTNAME= octave-forge-database
PORTVERSION= 2.4.4
PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= SF/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases
DISTNAME= ${OCTAVE_PKGNAME}-${DISTVERSIONFULL}
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}/struct.tar.gz:math/octave-forge-struct
USES= octave pgsql
GNU_CONFIGURE= yes
post-patch:
${REINPLACE_CMD} 's#endian.h#sys/endian.h#' ${WRKSRC}/wrap_endian.h
.include <bsd.port.mk>