diff options
author | stephen <stephen@FreeBSD.org> | 2013-07-06 04:59:44 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2013-07-06 04:59:44 +0800 |
commit | 445b3f7333ec3e5d867adc9a5b1e6d26a693eba7 (patch) | |
tree | 26a4d50fb6892cf85014b0132f83aa1b02c27e2d /math/octave-forge-xraylib | |
parent | 79986f19f3fa34838fdc231b948336a4de202c63 (diff) | |
download | freebsd-ports-gnome-445b3f7333ec3e5d867adc9a5b1e6d26a693eba7.tar.gz freebsd-ports-gnome-445b3f7333ec3e5d867adc9a5b1e6d26a693eba7.tar.zst freebsd-ports-gnome-445b3f7333ec3e5d867adc9a5b1e6d26a693eba7.zip |
- Remove .include <bsd.ports.pre.mk>; bsd.ports.post.mk to bsd.ports.mk;
${PORTSDIR} to ${.CURDIR}/../.. in the .include for bsd.octave.mk.
This is because USE_GMAKE no longer works after .include <bsd.ports.pre.mk>.
- Trim headers.
- Clean whitespace.
- Portlint.
Diffstat (limited to 'math/octave-forge-xraylib')
-rw-r--r-- | math/octave-forge-xraylib/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/math/octave-forge-xraylib/Makefile b/math/octave-forge-xraylib/Makefile index a13abb103e84..144a5aab8b93 100644 --- a/math/octave-forge-xraylib/Makefile +++ b/math/octave-forge-xraylib/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: octave-forge-xraylib -# Date created: 8 September 2008 -# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu> -# +# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu> # $FreeBSD$ -# PORTNAME= octave-forge-xraylib PORTVERSION= 1.0.8 @@ -12,16 +8,16 @@ CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} + GNU_CONFIGURE= yes 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 + @${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/src/*.sh + @${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/src/Makefile + @${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/bin/xraylib + @${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/xraylib/*.sh -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/Mk/bsd.octave.mk" -.include <bsd.port.post.mk> +.include "${.CURDIR}/../../Mk/bsd.octave.mk" +.include <bsd.port.mk> |