diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 21:29:24 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-28 21:29:24 +0800 |
commit | c9404864074eee8d194e6e3dbbb30cb60297e741 (patch) | |
tree | 50f3971fc8862045495b464e4689ecf2d603a9fc /textproc | |
parent | df48a0bb4301545f41bcbecc6fbc1267d79728f9 (diff) | |
download | freebsd-ports-gnome-c9404864074eee8d194e6e3dbbb30cb60297e741.tar.gz freebsd-ports-gnome-c9404864074eee8d194e6e3dbbb30cb60297e741.tar.zst freebsd-ports-gnome-c9404864074eee8d194e6e3dbbb30cb60297e741.zip |
- Support staging
- USES -> gmake
- Define DOCS option
- Remove redundant CONFIGURE_ARGS definition
- Strip binaries
- Add license
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xlhtml/Makefile | 18 | ||||
-rw-r--r-- | textproc/xlhtml/pkg-plist | 2 |
2 files changed, 12 insertions, 8 deletions
diff --git a/textproc/xlhtml/Makefile b/textproc/xlhtml/Makefile index e11b6d8b1938..6bd075a41395 100644 --- a/textproc/xlhtml/Makefile +++ b/textproc/xlhtml/Makefile @@ -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> diff --git a/textproc/xlhtml/pkg-plist b/textproc/xlhtml/pkg-plist index a63f47e815ab..83a9f28b2e75 100644 --- a/textproc/xlhtml/pkg-plist +++ b/textproc/xlhtml/pkg-plist @@ -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 |