mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
SUBFILES += pkg-message
PR: ports/142530 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
parent
c1eaff1b56
commit
e68134475c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247498
3 changed files with 12 additions and 8 deletions
|
@ -21,11 +21,14 @@ ONLY_FOR_ARCHS= i386
|
||||||
STRIP=
|
STRIP=
|
||||||
WRKSRC= ${WRKDIR}/invaders
|
WRKSRC= ${WRKDIR}/invaders
|
||||||
ALL_TARGET= clean all
|
ALL_TARGET= clean all
|
||||||
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/share/grubinvaders
|
${MKDIR} ${DATADIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/grubinvaders
|
.if !defined(NOPORTDOCS)
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/invaders ${PREFIX}/share/grubinvaders
|
${MKDIR} ${DOCSDIR}
|
||||||
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
|
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
||||||
|
.endif
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/invaders ${DATADIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
See %%PREFIX%%/share/grubinvaders/README for instructions on
|
See %%DATADIR%%/README for instructions on
|
||||||
installing grubinvaders with grub.
|
installing grubinvaders with grub.
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
|
@ -1,3 +1,4 @@
|
||||||
share/grubinvaders/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
share/grubinvaders/invaders
|
%%DATADIR%%/invaders
|
||||||
@dirrm share/grubinvaders
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
@dirrm %%DATADIR%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue