freebsd-ports/math/octave-forge-base/Makefile
Stephen Montgomery-Smith 4604233157 - Add rmdir $prefix/lib/octave/packages to the end of the installation script.
This is because the octave packaging process can fail to delete this
  directory when it becomes empty.
- Update to 1.3.

Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru>
2015-10-04 01:33:49 +00:00

32 lines
842 B
Makefile

# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
# $FreeBSD$
PORTNAME= octave-forge-base
PORTVERSION= 1.3
CATEGORIES= math
MASTER_SITES= #none
DISTFILES= #none
EXTRACT_ONLY= #none
MAINTAINER= stephen@FreeBSD.org
COMMENT= Octave-forge baseport for all packages
LICENSE= BSD2CLAUSE
RUN_DEPENDS= octave:${PORTSDIR}/math/octave \
gmake:${PORTSDIR}/devel/gmake \
p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar \
p5-IO-Zlib>=0:${PORTSDIR}/archivers/p5-IO-Zlib \
p5-File-Remove>=0:${PORTSDIR}/devel/p5-File-Remove
USES= perl5
SUB_FILES= load-octave-pkg
SUB_LIST= PERL=${PERL}
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/octave/tarballs
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/octave
${INSTALL_SCRIPT} ${WRKDIR}/load-octave-pkg ${STAGEDIR}${PREFIX}/libexec/octave/.
.include <bsd.port.mk>