summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-08-16 15:08:02 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-08-16 15:08:02 +0000
commit71c94060818d93baa4b574ba6c072c93864bed9d (patch)
tree40503691518c59885ef943500e58129939cf8eef
parent- Replace USE_X_PREFIX with PREFIX?=${X11BASE} (diff)
- it requires the Fortran compiler, bump PORTREVISION
- it's only for i386 and amd64 PR: ports/115506 Submitted by: Harald Servat (maintainer)
Notes
Notes: svn path=/head/; revision=197808
-rw-r--r--devel/papi/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/papi/Makefile b/devel/papi/Makefile
index 2a2a93b7d1da..8ceb2a534963 100644
--- a/devel/papi/Makefile
+++ b/devel/papi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= papi
PORTVERSION= 3.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://papi-for-freebsd.googlecode.com/files/:source1
DISTFILES= papi-3.5.0-freebsd-rev45.tar.bz2:source1
@@ -23,12 +23,20 @@ HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/PAPI/src
WRKMAN= ${WRKDIR}/PAPI/man
+# Although the package may not install the fortran binaries, it requires the
+# fortran compiler
+USE_FORTRAN= yes
+
OPTIONS= CTESTS "Install C tests" On
OPTIONS+= FTESTS "Install Fortran tests" On
OPTIONS+= DEBUG "Add debug information (increased verbosity)" Off
.include <bsd.port.pre.mk>
+ONLY_FOR_ARCHS= i386 amd64
+ONLY_FOR_ARCHS_REASON= HWPMC kernel module is only available for I386 and \
+ AMD64 machines
+
.if defined(WITHOUT_CTESTS)
PLIST_SUB+= CTESTS="@comment "
.else
@@ -39,7 +47,6 @@ PLIST_SUB+= CTESTS=""
PLIST_SUB+= FTESTS="@comment "
.else
PLIST_SUB+= FTESTS=""
-USE_FORTRAN= yes
.endif
.if defined(WITHOUT_DEBUG)
@@ -276,6 +283,6 @@ do-install:
.endfor
post-install:
- ${CAT} pkg-message
+ ${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>