aboutsummaryrefslogtreecommitdiffstats
path: root/math/linpack
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-29 14:25:47 +0800
committerantoine <antoine@FreeBSD.org>2014-08-29 14:25:47 +0800
commit3d1f5a238cf71893aa59bb85bc3063ef5962ca28 (patch)
treefb84ea84a79d3982f064526e60dbc3dc9470366d /math/linpack
parent5b68fa651fd7be296973caa85a5c4953940bffd6 (diff)
downloadfreebsd-ports-gnome-3d1f5a238cf71893aa59bb85bc3063ef5962ca28.tar.gz
freebsd-ports-gnome-3d1f5a238cf71893aa59bb85bc3063ef5962ca28.tar.zst
freebsd-ports-gnome-3d1f5a238cf71893aa59bb85bc3063ef5962ca28.zip
Allow staging as a regular user and simplify
Diffstat (limited to 'math/linpack')
-rw-r--r--math/linpack/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/math/linpack/Makefile b/math/linpack/Makefile
index 8a2b97ceadc7..473401431fa2 100644
--- a/math/linpack/Makefile
+++ b/math/linpack/Makefile
@@ -12,15 +12,18 @@ MAINTAINER= bf@FreeBSD.org
COMMENT= Linear Algebra package
LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas
-MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
-USES= fortran
+MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
+MAKEFILE= ${FILESDIR}/Makefile.lib
-.include <bsd.port.pre.mk>
+USES= fortran uidfix
USE_LDCONFIG= yes
DIST_SUBDIR= ${PORTNAME}
NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= ${WRKSRC}
SRCS= cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \
cgeco.f cgedi.f cgefa.f cgesl.f cgtsl.f chico.f chidi.f chifa.f \
@@ -46,16 +49,4 @@ SRCS= cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \
zsico.f zsidi.f zsifa.f zsisl.f zspco.f zspdi.f zspfa.f zspsl.f \
zsvdc.f ztrco.f ztrdi.f ztrsl.f
-do-extract:
- @${MKDIR} ${WRKDIR}
-.for file in ${SRCS}
- @${CP} ${_DISTDIR}/${file} ${WRKSRC}/${file}
-.endfor
-
-do-build:
- cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE}
-
-pre-build:
- ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>