- Add stage support
- Add DOCS option - Use PLIST_FILES and PORTDOCS instead of pkg-plist file
This commit is contained in:
parent
922be491a2
commit
c3964e45bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333714
@ -16,12 +16,13 @@ USES= imake
|
||||
USE_XORG= x11 xext xaw xmu xt sm ice
|
||||
NO_INSTALL_MANPAGES= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
PLIST_FILES= bin/xisola
|
||||
PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +0,0 @@
|
||||
bin/xisola
|
||||
%%PORTDOCS%%share/doc/xisola/README
|
||||
%%PORTDOCS%%@dirrm share/doc/xisola
|
Loading…
Reference in New Issue
Block a user