mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support stage
This commit is contained in:
parent
d40498ede6
commit
ea5b410a89
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337550
@ -11,13 +11,11 @@ COMMENT= Program to extract Microsoft cabinet (.CAB) files
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
NO_STAGE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MANLANG= "" ja
|
||||
MAN1= cabextract.1
|
||||
|
||||
PLIST_FILES= bin/cabextract
|
||||
PLIST_FILES= bin/cabextract \
|
||||
man/ja/man1/cabextract.1.gz \
|
||||
man/man1/cabextract.1.gz
|
||||
DOCS= AUTHORS ChangeLog NEWS README TODO
|
||||
DOC_DOCS= magic wince_cab_format.html
|
||||
SRC_DOCS= wince_info wince_rename
|
||||
@ -25,22 +23,18 @@ PORTDOCS= ${DOCS} ${DOC_DOCS} ${SRC_DOCS}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/cabextract.1 ${MAN1PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${MAN1PREFIX}/man/ja/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/cabextract.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/ja/cabextract.1 ${STAGEDIR}${MAN1PREFIX}/man/ja/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.for i in ${DOC_DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.for i in ${SRC_DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/${i} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user