2012-10-03 18:34:11 +02:00
|
|
|
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
2010-06-29 13:53:37 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= octave-forge-octproj
|
2012-10-03 18:34:11 +02:00
|
|
|
PORTVERSION= 1.1.2
|
2015-06-15 15:03:11 +02:00
|
|
|
PORTREVISION= 6
|
2010-06-29 13:53:37 +02:00
|
|
|
CATEGORIES= math
|
|
|
|
|
2011-06-14 09:38:51 +02:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2010-06-29 13:53:37 +02:00
|
|
|
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
|
|
|
|
2011-11-21 02:17:40 +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
|
2010-06-29 13:53:37 +02:00
|
|
|
|
2014-07-14 20:42:04 +02:00
|
|
|
LIB_DEPENDS+= libproj.so:${PORTSDIR}/graphics/proj
|
2010-06-29 13:53:37 +02:00
|
|
|
|
2013-07-05 22:59:44 +02:00
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
|
2011-06-24 06:22:33 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e s/CC/MKOCTFILE/ -e s/-Wall// -e s/-Wextra// ${WRKSRC}/Makefile
|
2011-05-31 05:01:00 +02:00
|
|
|
|
2010-06-29 13:53:37 +02:00
|
|
|
post-build:
|
2011-06-24 06:22:33 +02:00
|
|
|
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
|
2011-11-21 02:17:40 +01:00
|
|
|
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
|
2010-06-29 13:53:37 +02:00
|
|
|
|
2013-07-05 22:59:44 +02:00
|
|
|
.include <bsd.port.mk>
|