aboutsummaryrefslogtreecommitdiff
path: root/textproc/xlhtml
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 13:29:24 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 13:29:24 +0000
commit7384f71e3919f38de0da6e3f0b548d505788ae1f (patch)
tree50f3971fc8862045495b464e4689ecf2d603a9fc /textproc/xlhtml
parent9a8eb5e2cece522d639248cc70b16d9f6252a2d5 (diff)
Notes
Diffstat (limited to 'textproc/xlhtml')
-rw-r--r--textproc/xlhtml/Makefile18
-rw-r--r--textproc/xlhtml/pkg-plist2
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