2013-07-05 22:59:44 +02:00
|
|
|
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
2011-02-05 11:42:51 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= octave-forge-fits
|
2013-08-17 00:43:15 +02:00
|
|
|
PORTVERSION= 1.0.3
|
2014-03-10 21:55:20 +01:00
|
|
|
PORTREVISION= 4
|
2011-02-05 11:42:51 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
|
2011-06-14 09:38:51 +02:00
|
|
|
MAINTAINER= stephen@FreeBSD.org
|
2011-02-05 11:42:51 +01:00
|
|
|
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
|
|
|
|
|
2014-01-12 20:52:20 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
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}.
|
2013-08-17 00:43:15 +02:00
|
|
|
OCTSRC= ${OCTAVE_PKGNAME}
|
2011-11-21 02:17:40 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${OCTSRC}/src
|
2011-02-05 11:42:51 +01:00
|
|
|
|
2014-02-05 21:02:34 +01:00
|
|
|
LIB_DEPENDS+= libcfitsio.so:${PORTSDIR}/astro/cfitsio
|
2011-02-05 11:42:51 +01:00
|
|
|
|
2013-07-05 22:59:44 +02:00
|
|
|
.include "${.CURDIR}/../../Mk/bsd.octave.mk"
|
|
|
|
|
2011-02-05 11:42:51 +01: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}
|
2011-02-05 11:42:51 +01:00
|
|
|
|
2013-07-05 22:59:44 +02:00
|
|
|
.include <bsd.port.mk>
|