aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-08-31 05:45:04 +0800
committerlioux <lioux@FreeBSD.org>2005-08-31 05:45:04 +0800
commit5bc8fbc6852aea00cea1cd43ca9833ceb868d2cd (patch)
tree9a753481c39ca551da08ff7c309b2ce7c03a0488
parentaca789139c33d4685e07c5db3241f9529f647299 (diff)
downloadfreebsd-ports-gnome-5bc8fbc6852aea00cea1cd43ca9833ceb868d2cd.tar.gz
freebsd-ports-gnome-5bc8fbc6852aea00cea1cd43ca9833ceb868d2cd.tar.zst
freebsd-ports-gnome-5bc8fbc6852aea00cea1cd43ca9833ceb868d2cd.zip
Fix installation
Submitted by: pointyhat (krion)
-rw-r--r--net-p2p/mldonkey-devel/Makefile5
-rw-r--r--net/mldonkey-devel/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile
index 570e88d30c50..b13ca67e10a9 100644
--- a/net-p2p/mldonkey-devel/Makefile
+++ b/net-p2p/mldonkey-devel/Makefile
@@ -124,8 +124,13 @@ post-configure:
${BUILD_WRKSRC}/config/Makefile.config
pre-install:
+.if exists(${.CURDIR}/pkg-message)
@${SED} -e 's,%%DOCSDIR%%,${DOCSDIR},' \
< ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+.elif exists(${MASTERDIR}/pkg-message)
+ @${SED} -e 's,%%DOCSDIR%%,${DOCSDIR},' \
+ < ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
+.endif
do-install:
.ifndef(WITHOUT_CORE)
diff --git a/net/mldonkey-devel/Makefile b/net/mldonkey-devel/Makefile
index 570e88d30c50..b13ca67e10a9 100644
--- a/net/mldonkey-devel/Makefile
+++ b/net/mldonkey-devel/Makefile
@@ -124,8 +124,13 @@ post-configure:
${BUILD_WRKSRC}/config/Makefile.config
pre-install:
+.if exists(${.CURDIR}/pkg-message)
@${SED} -e 's,%%DOCSDIR%%,${DOCSDIR},' \
< ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+.elif exists(${MASTERDIR}/pkg-message)
+ @${SED} -e 's,%%DOCSDIR%%,${DOCSDIR},' \
+ < ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
+.endif
do-install:
.ifndef(WITHOUT_CORE)