- Cosmetic change to Makefile. Use the variable OCTSRC to describe where the

contents of the package are stored.  This should make it easier if other
  people take over maintainership of the octave-forge-* ports.

Feature safe:	yes
This commit is contained in:
Stephen Montgomery-Smith 2011-11-21 01:17:40 +00:00
parent d9b2767be3
commit df56e1f431
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286140
46 changed files with 259 additions and 74 deletions

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -20,6 +24,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:${PORTSDIR}/math/octave-forge-fpl RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:${PORTSDIR}/math/octave-forge-fpl
RUN_DEPENDS+= ${TARBALLS_DIR}/msh.tar.gz:${PORTSDIR}/math/octave-forge-msh RUN_DEPENDS+= ${TARBALLS_DIR}/msh.tar.gz:${PORTSDIR}/math/octave-forge-msh
@ -22,6 +26,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,7 +12,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
MAKE_ENV+= MKOCTFILE=mkoctfile MAKE_ENV+= MKOCTFILE=mkoctfile
RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:${PORTSDIR}/math/octave-forge-signal RUN_DEPENDS+= ${TARBALLS_DIR}/signal.tar.gz:${PORTSDIR}/math/octave-forge-signal
@ -22,6 +26,6 @@ RUN_DEPENDS+= ${TARBALLS_DIR}/image.tar.gz:${PORTSDIR}/math/octave-forge-image
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,12 +12,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -20,7 +24,7 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -20,6 +24,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,13 +13,17 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,7 +12,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # 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+= cfitsio:${PORTSDIR}/astro/cfitsio LIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio
@ -20,6 +24,6 @@ LIB_DEPENDS+= cfitsio:${PORTSDIR}/astro/cfitsio
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
RUN_DEPENDS+= dx:${PORTSDIR}/graphics/opendx RUN_DEPENDS+= dx:${PORTSDIR}/graphics/opendx
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -22,6 +26,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -19,6 +23,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
RUN_DEPENDS+= ${TARBALLS_DIR}/communications.tar.gz:${PORTSDIR}/math/octave-forge-communications RUN_DEPENDS+= ${TARBALLS_DIR}/communications.tar.gz:${PORTSDIR}/math/octave-forge-communications
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -22,6 +26,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -20,6 +24,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
RUN_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml RUN_DEPENDS+= py*-lxml>=0:${PORTSDIR}/devel/py-lxml
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -21,6 +25,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -20,6 +24,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,7 +12,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
@ -21,6 +25,6 @@ post-patch:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -19,6 +23,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,12 +12,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -19,6 +23,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,7 +13,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
@ -22,6 +26,6 @@ MAKE_ENV+= MKOCTFILE=mkoctfile
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
RUN_DEPENDS+= ${TARBALLS_DIR}/splines.tar.gz:${PORTSDIR}/math/octave-forge-splines RUN_DEPENDS+= ${TARBALLS_DIR}/splines.tar.gz:${PORTSDIR}/math/octave-forge-splines
RUN_DEPENDS+= gmsh:${PORTSDIR}/cad/gmsh RUN_DEPENDS+= gmsh:${PORTSDIR}/cad/gmsh
@ -23,6 +27,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,7 +12,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/NaN/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= NaN
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
@ -21,6 +25,6 @@ ALL_TARGET= octave
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz NaN cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,11 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -20,6 +24,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,12 +12,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,7 +13,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:${PORTSDIR}/math/octave-forge-odepkg RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:${PORTSDIR}/math/octave-forge-odepkg
@ -21,6 +25,6 @@ RUN_DEPENDS+= ${TARBALLS_DIR}/odepkg.tar.gz:${PORTSDIR}/math/octave-forge-odepkg
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,7 +13,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # 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+= netcdf:${PORTSDIR}/science/netcdf LIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf
@ -21,6 +25,6 @@ LIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,7 +13,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
@ -22,6 +26,6 @@ post-patch:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,13 +13,17 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,7 +13,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # 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+= proj:${PORTSDIR}/graphics/proj LIB_DEPENDS+= proj:${PORTSDIR}/graphics/proj
@ -24,6 +28,6 @@ post-patch:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,7 +12,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
RUN_DEPENDS+= ${TARBALLS_DIR}/miscellaneous.tar.gz:${PORTSDIR}/math/octave-forge-miscellaneous RUN_DEPENDS+= ${TARBALLS_DIR}/miscellaneous.tar.gz:${PORTSDIR}/math/octave-forge-miscellaneous
RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:${PORTSDIR}/math/octave-forge-struct RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:${PORTSDIR}/math/octave-forge-struct
@ -21,6 +25,6 @@ RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:${PORTSDIR}/math/octave-forge-struct
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,7 +13,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
@ -22,6 +26,6 @@ MAKE_ENV+= MKOCTFILE_FORTRAN_90=yes MKOCTFILE=mkoctfile
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,13 +13,17 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -19,6 +23,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/pt_BR/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= pt_BR
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz pt_BR cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,6 +13,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:${PORTSDIR}/math/octave-forge-fpl RUN_DEPENDS+= ${TARBALLS_DIR}/fpl.tar.gz:${PORTSDIR}/math/octave-forge-fpl
RUN_DEPENDS+= ${TARBALLS_DIR}/bim.tar.gz:${PORTSDIR}/math/octave-forge-bim RUN_DEPENDS+= ${TARBALLS_DIR}/bim.tar.gz:${PORTSDIR}/math/octave-forge-bim
@ -23,6 +27,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,7 +12,11 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim RUN_DEPENDS+= ${TARBALLS_DIR}/optim.tar.gz:${PORTSDIR}/math/octave-forge-optim
RUN_DEPENDS+= ${TARBALLS_DIR}/specfun.tar.gz:${PORTSDIR}/math/octave-forge-specfun RUN_DEPENDS+= ${TARBALLS_DIR}/specfun.tar.gz:${PORTSDIR}/math/octave-forge-specfun
@ -26,6 +30,6 @@ post-patch:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -12,6 +12,10 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
RUN_DEPENDS+= ${TARBALLS_DIR}/miscellaneous.tar.gz:${PORTSDIR}/math/octave-forge-miscellaneous RUN_DEPENDS+= ${TARBALLS_DIR}/miscellaneous.tar.gz:${PORTSDIR}/math/octave-forge-miscellaneous
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -21,6 +25,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,12 +13,16 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src # OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${DISTNAME}
WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${DISTNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -13,14 +13,18 @@ CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
LIB_DEPENDS+= ginac:${PORTSDIR}/math/GiNaC LIB_DEPENDS+= ginac:${PORTSDIR}/math/GiNaC
WRKSRC= ${WRKDIR}/${OCTAVE_PKGNAME}/src WRKSRC= ${WRKDIR}/${OCTSRC}/src
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -14,6 +14,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= stephen@FreeBSD.org MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
# OCTSRC is the name of the directory of the package.
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
OCTSRC= ${OCTAVE_PKGNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk" .include "${PORTSDIR}/Mk/bsd.octave.mk"
do-build: do-build:
@ -21,6 +25,6 @@ do-build:
post-build: post-build:
${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTAVE_PKGNAME} cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>