diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-01-10 08:35:58 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-01-10 08:35:58 +0800 |
commit | 5f2f59e6a48d6c757fe9662ad6498fc76bfc4cb3 (patch) | |
tree | 0dd62909959f7bc214a179e64a0211945aec38f7 /games | |
parent | d84fa204bbe3678d1a3e71a7c84cc826e612a5a0 (diff) | |
download | freebsd-ports-gnome-5f2f59e6a48d6c757fe9662ad6498fc76bfc4cb3.tar.gz freebsd-ports-gnome-5f2f59e6a48d6c757fe9662ad6498fc76bfc4cb3.tar.zst freebsd-ports-gnome-5f2f59e6a48d6c757fe9662ad6498fc76bfc4cb3.zip |
SUBFILES += pkg-message
PR: ports/142530
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'games')
-rw-r--r-- | games/grubinvaders/Makefile | 11 | ||||
-rw-r--r-- | games/grubinvaders/files/pkg-message.in (renamed from games/grubinvaders/pkg-message) | 2 | ||||
-rw-r--r-- | games/grubinvaders/pkg-plist | 7 |
3 files changed, 12 insertions, 8 deletions
diff --git a/games/grubinvaders/Makefile b/games/grubinvaders/Makefile index 8448a93933bc..c9b231089f62 100644 --- a/games/grubinvaders/Makefile +++ b/games/grubinvaders/Makefile @@ -21,11 +21,14 @@ ONLY_FOR_ARCHS= i386 STRIP= WRKSRC= ${WRKDIR}/invaders ALL_TARGET= clean all +SUB_FILES= pkg-message do-install: - ${MKDIR} ${PREFIX}/share/grubinvaders - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/grubinvaders - ${INSTALL_PROGRAM} ${WRKSRC}/invaders ${PREFIX}/share/grubinvaders - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE} + ${MKDIR} ${DATADIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} +.endif + ${INSTALL_PROGRAM} ${WRKSRC}/invaders ${DATADIR} .include <bsd.port.mk> diff --git a/games/grubinvaders/pkg-message b/games/grubinvaders/files/pkg-message.in index f0c6b5b5b45b..f19da57bb97d 100644 --- a/games/grubinvaders/pkg-message +++ b/games/grubinvaders/files/pkg-message.in @@ -1,6 +1,6 @@ ------------------------------------------------------------ -See %%PREFIX%%/share/grubinvaders/README for instructions on +See %%DATADIR%%/README for instructions on installing grubinvaders with grub. ------------------------------------------------------------ diff --git a/games/grubinvaders/pkg-plist b/games/grubinvaders/pkg-plist index c2338f1a0bd4..bda635ac0640 100644 --- a/games/grubinvaders/pkg-plist +++ b/games/grubinvaders/pkg-plist @@ -1,3 +1,4 @@ -share/grubinvaders/README -share/grubinvaders/invaders -@dirrm share/grubinvaders +%%PORTDOCS%%%%DOCSDIR%%/README +%%DATADIR%%/invaders +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |