mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Support staging
- USES -> gmake - Define DOCS option - Remove redundant CONFIGURE_ARGS definition - Strip binaries - Add license
This commit is contained in:
parent
9a8eb5e2ce
commit
7384f71e39
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346511
@ -12,20 +12,22 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Convert Excel and PowerPoint files to HTML and text
|
||||
|
||||
USE_GMAKE= yes
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= gmake
|
||||
|
||||
USE_AUTOTOOLS= automake14 autoconf
|
||||
CONFIGURE_ARGS= --mandir=${PREFIX}/man
|
||||
NO_STAGE= yes
|
||||
|
||||
MAN1= ppthtml.1 xlhtml.1
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
.for dir in xlhtml ppthtml
|
||||
@${MKDIR} ${DOCSDIR}/${dir}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${dir}
|
||||
cd ${WRKSRC}/${dir} && \
|
||||
${INSTALL_DATA} ChangeLog README THANKS ${DOCSDIR}/${dir}
|
||||
${INSTALL_DATA} ChangeLog README THANKS \
|
||||
${STAGEDIR}${DOCSDIR}/${dir}
|
||||
.endfor
|
||||
.endif
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xlhtml \
|
||||
${STAGEDIR}${PREFIX}/bin/ppthtml
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -3,6 +3,8 @@ bin/nspptview
|
||||
bin/nsxlview
|
||||
bin/ppthtml
|
||||
bin/xlhtml
|
||||
man/man1/ppthtml.1.gz
|
||||
man/man1/xlhtml.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xlhtml/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xlhtml/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/xlhtml/THANKS
|
||||
|
Loading…
Reference in New Issue
Block a user