summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-04-08 09:47:24 +0000
committerdanfe <danfe@FreeBSD.org>2005-04-08 09:47:24 +0000
commit7eabfd0834cfc0a88aaf310280f7583ec797ea59 (patch)
treebdcfe293d26d30c9f3385c5d8264aa5ba5681220 /games
parenteb3c7b2d950d961814e69ff16950fd93fb984153 (diff)
downloadFreeBSD-ports-7eabfd0834cfc0a88aaf310280f7583ec797ea59.zip
FreeBSD-ports-7eabfd0834cfc0a88aaf310280f7583ec797ea59.tar.gz
Fix the case when ports tree is read-only (CDROM and similar media).
Diffstat (limited to 'games')
-rw-r--r--games/quake2lnx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile
index 92ffda4..cacb926 100644
--- a/games/quake2lnx/Makefile
+++ b/games/quake2lnx/Makefile
@@ -403,7 +403,10 @@ do-install:
. endif
.endif
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
post-install:
- @${SED} -e 's|$${DATADIR}|${DATADIR}|g' ${PKGMESSAGE}
+ @${SED} -e 's|$${DATADIR}|${DATADIR}|g' ${.CURDIR}/pkg-message >${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud