mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Add staging support
Define LICENSE Replace NOPORTDOCS with ${PORT_OPTIONS:MDOCS}
This commit is contained in:
parent
e4d9a07a92
commit
6360a46388
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358317
@ -9,18 +9,21 @@ MASTER_SITES= SF
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Resource compiler for Pilot applications
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
WRKSRC= ${WRKDIR}/pilrc-${PORTVERSION}/unix
|
||||
CONFIGURE_ARGS+= --enable-pilrcui
|
||||
|
||||
USE_GNOME= gtk12
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pilrc ${WRKSRC}/pilrcui ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/../doc/* ${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pilrc ${WRKSRC}/pilrcui ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +1,11 @@
|
||||
bin/pilrc
|
||||
bin/pilrcui
|
||||
%%PORTDOCS%%%%DOCSDIR%%/archive.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/contrib.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/download.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/history.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/images/download.gif
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/manual.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%DOCS%%%%DOCSDIR%%/archive.html
|
||||
%%DOCS%%%%DOCSDIR%%/contrib.html
|
||||
%%DOCS%%%%DOCSDIR%%/download.html
|
||||
%%DOCS%%%%DOCSDIR%%/history.html
|
||||
%%DOCS%%%%DOCSDIR%%/images/download.gif
|
||||
%%DOCS%%%%DOCSDIR%%/index.html
|
||||
%%DOCS%%%%DOCSDIR%%/manual.html
|
||||
%%DOCS%%@dirrm %%DOCSDIR%%/images
|
||||
%%DOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user