aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/zangband/Makefile4
-rw-r--r--games/zangband/files/pkg-message.in (renamed from games/zangband/files/MESSAGE.in)0
2 files changed, 2 insertions, 2 deletions
diff --git a/games/zangband/Makefile b/games/zangband/Makefile
index 17e6b15f0dd8..8df068c00a55 100644
--- a/games/zangband/Makefile
+++ b/games/zangband/Makefile
@@ -25,8 +25,9 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/lib --mandir=${PREFIX}/man \
NO_CDROM= Possible copyright infringement
WRKSRC= ${WRKDIR}/${PORTNAME}
-PKGMESSAGE= ${WRKDIR}/MESSAGE
PLIST_SUB+= ANGBANDBIN=${ANGBANDBIN} ANGBANDLIB=${ANGBANDLIB}
+SUB_FILES= pkg-message
+SUB_LIST= ANGBANDBIN=${ANGBANDBIN} ANGBANDLIB=${ANGBANDLIB}
SHAREOWN= games
SHAREGRP= games
@@ -54,7 +55,6 @@ post-install:
${CHMOD} -R o+r help ; \
${CHMOD} 1777 save user \
)
- @${SED} -e "s|%%PREFIX%%|${PREFIX}|g;s|%%ANGBANDBIN%%|${ANGBANDBIN}|g;s|%%ANGBANDLIB%%|${ANGBANDLIB}|g" ${FILESDIR}/MESSAGE.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/games/zangband/files/MESSAGE.in b/games/zangband/files/pkg-message.in
index fdc6faa71449..fdc6faa71449 100644
--- a/games/zangband/files/MESSAGE.in
+++ b/games/zangband/files/pkg-message.in