freebsd-ports/math/octave-forge-octproj/Makefile

33 lines
806 B
Makefile
Raw Normal View History

2012-10-03 18:34:11 +02:00
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-octproj
2012-10-03 18:34:11 +02:00
PORTVERSION= 1.1.2
PORTREVISION= 6
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
2014-01-12 20:52:20 +01:00
LICENSE= GPLv3
2014-06-23 02:05:58 +02:00
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
2014-01-12 20:52:20 +01:00
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
LIB_DEPENDS+= libproj.so:${PORTSDIR}/graphics/proj
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
post-patch:
${REINPLACE_CMD} -e s/CC/MKOCTFILE/ -e s/-Wall// -e s/-Wextra// ${WRKSRC}/Makefile
post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.mk>