aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-12-17 23:21:32 +0800
committersergei <sergei@FreeBSD.org>2003-12-17 23:21:32 +0800
commit268788b70d2fb79a9cd11df0547432b925559cb0 (patch)
tree1b978f5b24d30dedd7ab2a55e55aeed5e43a6a1c /textproc
parentf6c227cf07911d05f8b465919e631a4303323223 (diff)
downloadfreebsd-ports-gnome-268788b70d2fb79a9cd11df0547432b925559cb0.tar.gz
freebsd-ports-gnome-268788b70d2fb79a9cd11df0547432b925559cb0.tar.zst
freebsd-ports-gnome-268788b70d2fb79a9cd11df0547432b925559cb0.zip
- 0.5.1 is no longer available from the master sites - thus,
downgrade to 0.5 - the latest official release - Use proper MASTER_SITE_SOURCEFORGE While I'm here: - Silence configure warning - Shorten COMMENT to fit the limit - Install additional docs, respect NOPORTDOCS in pkg-plist PR: 60318 Submitted by: maintainer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xlhtml/Makefile28
-rw-r--r--textproc/xlhtml/distinfo2
-rw-r--r--textproc/xlhtml/pkg-plist13
3 files changed, 25 insertions, 18 deletions
diff --git a/textproc/xlhtml/Makefile b/textproc/xlhtml/Makefile
index 46596675705f..7339ec6da14d 100644
--- a/textproc/xlhtml/Makefile
+++ b/textproc/xlhtml/Makefile
@@ -6,29 +6,29 @@
#
PORTNAME= xlhtml
-PORTVERSION= 0.5.1
-PORTREVISION= 1
+PORTVERSION= 0.5
+PORTEPOCH= 1
CATEGORIES= textproc
-MASTER_SITES= http://chicago.sourceforge.net/xlhtml/
-DISTNAME= ${PORTNAME}.${PORTVERSION}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= chicago
EXTRACT_SUFX= .tgz
MAINTAINER= coop9211@uidaho.edu
-COMMENT= Utilities converting Excel and PowerPoint files to HTML and text
+COMMENT= Convert Excel and PowerPoint files to HTML and text
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_AUTOMAKE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ppthtml.1 xlhtml.1
-post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/xlhtml
- ${INSTALL_MAN} ${WRKSRC}/xlhtml/README \
- ${PREFIX}/share/doc/xlhtml/README.xlhtml
- ${INSTALL_MAN} ${WRKSRC}/ppthtml/README \
- ${PREFIX}/share/doc/xlhtml/README.ppthtml
+post-install:
+.for dir in xlhtml ppthtml
+ @${MKDIR} ${DOCSDIR}/${dir}
+ cd ${WRKSRC}/${dir} && \
+ ${INSTALL_DATA} ChangeLog README THANKS ${DOCSDIR}/${dir}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/textproc/xlhtml/distinfo b/textproc/xlhtml/distinfo
index 1479c36ac0dc..40a075686044 100644
--- a/textproc/xlhtml/distinfo
+++ b/textproc/xlhtml/distinfo
@@ -1 +1 @@
-MD5 (xlhtml.0.5.1.tgz) = deeb108545e1848fce5dcb8d84d8a48e
+MD5 (xlhtml-0.5.tgz) = 2ff805c5384bdde9675cb136f54df32e
diff --git a/textproc/xlhtml/pkg-plist b/textproc/xlhtml/pkg-plist
index ad4ba332126e..8a41728142ab 100644
--- a/textproc/xlhtml/pkg-plist
+++ b/textproc/xlhtml/pkg-plist
@@ -1,8 +1,15 @@
+@comment $FreeBSD$
bin/nsopen
bin/nspptview
bin/nsxlview
bin/ppthtml
bin/xlhtml
-share/doc/xlhtml/README.ppthtml
-share/doc/xlhtml/README.xlhtml
-@dirrm share/doc/xlhtml
+%%PORTDOCS%%%%DOCSDIR%%/xlhtml/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/xlhtml/README
+%%PORTDOCS%%%%DOCSDIR%%/xlhtml/THANKS
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/xlhtml
+%%PORTDOCS%%%%DOCSDIR%%/ppthtml/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/ppthtml/README
+%%PORTDOCS%%%%DOCSDIR%%/ppthtml/THANKS
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/ppthtml
+%%PORTDOCS%%@dirrm %%DOCSDIR%%