summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2014-12-23 13:18:09 +0000
committerriggs <riggs@FreeBSD.org>2014-12-23 13:18:09 +0000
commit1ea313be32ca1eb3c63ec1bc29d48c3c343a1c90 (patch)
tree75c308c9151078d8ac282894c92cf24ac9b044e1
parent0975cc41c76f7b610637ef8064a1aa464957f0e7 (diff)
downloadFreeBSD-ports-1ea313be32ca1eb3c63ec1bc29d48c3c343a1c90.zip
FreeBSD-ports-1ea313be32ca1eb3c63ec1bc29d48c3c343a1c90.tar.gz
- Ensure that PREFIX is respected
- Pet portlint PR: 196162 Submitted by: mi@ALDAN.algebra.com
-rw-r--r--net/liveMedia/Makefile7
-rw-r--r--net/liveMedia/pkg-message2
2 files changed, 7 insertions, 2 deletions
diff --git a/net/liveMedia/Makefile b/net/liveMedia/Makefile
index b877e72..b6f629e 100644
--- a/net/liveMedia/Makefile
+++ b/net/liveMedia/Makefile
@@ -3,6 +3,7 @@
PORTNAME= liveMedia
PORTVERSION= 2014.12.17
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= net devel
MASTER_SITES= LOCAL/wg \
@@ -41,4 +42,10 @@ BROKEN= Does not compile
post-extract:
${CP} ${FILESDIR}/config.fixed-freebsd ${WRKSRC}
+.if "${PREFIX}" != "/usr/local"
+post-configure:
+ ${REINPLACE_CMD} -e 's,^PREFIX = /usr/local,PREFIX = "${PREFIX}",' \
+ ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile
+.endif
+
.include <bsd.port.post.mk>
diff --git a/net/liveMedia/pkg-message b/net/liveMedia/pkg-message
index 6319a86..3656d64 100644
--- a/net/liveMedia/pkg-message
+++ b/net/liveMedia/pkg-message
@@ -1,5 +1,3 @@
-
For more documentation on this software
(and to get the latest version), please
see <http://www.live555.com/liveMedia/>.
-
OpenPOWER on IntegriCloud