freebsd-ports/math/octave-forge-octproj/Makefile
Wen Heping 70e12eef45 - Update graphics/proj to 4.9.1
- Bump PORTREVISION to chase the update of proj

PR:		200434
Submitted by:	wen@(myself)
Approved by:	maintainer(timeout, >20 days)
2015-06-15 13:03:11 +00:00

32 lines
806 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-octproj
PORTVERSION= 1.1.2
PORTREVISION= 6
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
# 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>