freebsd-ports/math/octave-forge-xraylib/Makefile
Maho Nakata 8c435f6474 Build fix for math/octage-forge-xraylib.
PR:		127208
Submitted by:	Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
Approved by:	portmgr (joe)
2008-09-09 00:00:12 +00:00

25 lines
817 B
Makefile

# New ports collection makefile for: octave-forge
# Date created: 5 May 2004
# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
#
# $FreeBSD$
#
PORTNAME= octave-forge-xraylib
PORTVERSION= 1.0.7
CATEGORIES= math
MAINTAINER= stephen@math.missouri.edu
COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
post-patch:
@${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/src/*.sh
@${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/src/Makefile
@${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/bin/xraylib
@${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/*.sh
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.octave.mk"
.include <bsd.port.post.mk>