aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-03-17 05:17:29 +0800
committerhoek <hoek@FreeBSD.org>1998-03-17 05:17:29 +0800
commit016e4932b947e610858cbaf368a03c8226347e8b (patch)
tree8efd78c4e2072aff735c37621c7513cdbc3e29ee /textproc
parent1a50a53ed4c10d4197613e11aaff6e14d451fdba (diff)
downloadfreebsd-ports-gnome-016e4932b947e610858cbaf368a03c8226347e8b.tar.gz
freebsd-ports-gnome-016e4932b947e610858cbaf368a03c8226347e8b.tar.zst
freebsd-ports-gnome-016e4932b947e610858cbaf368a03c8226347e8b.zip
Don't use wcarchive's auto-tar and use DIST_SUBDIR instead.
PR: ports/5832
Diffstat (limited to 'textproc')
-rw-r--r--textproc/catdoc/Makefile22
-rw-r--r--textproc/catdoc/distinfo4
2 files changed, 16 insertions, 10 deletions
diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile
index 9e8fca5becfa..1efb5aaf0ea4 100644
--- a/textproc/catdoc/Makefile
+++ b/textproc/catdoc/Makefile
@@ -3,27 +3,31 @@
# Date created: 11 November 1997
# Whom: Brion Moss <brion@queeg.com>
#
-# $Id: Makefile,v 1.1.1.1 1998/02/12 17:30:28 hoek Exp $
+# $Id: Makefile,v 1.2 1998/02/22 22:26:23 wosch Exp $
#
-DISTNAME= catdoc
-PKGNAME= catdoc-0.3
+DISTNAME= catdoc-0.3
CATEGORIES= textproc
-# Uses on-the-fly tar, which may not work with all of MASTER_SITE_TEX_CTAN.
-MASTER_SITES= ftp://ftp.cdrom.com/pub/tex/ctan/support/
-EXTRACT_SUFX= .tar
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= support/catdoc
+DISTFILES= catdoc.c catdoc.1 wordview
MAINTAINER= brion@queeg.com
-EXTRACT_BEFORE_ARGS= -xf
-CFLAGS+= -DLATIN1=1
+DIST_SUBDIR= catdoc
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= .
MAN1= catdoc.1
+# Remove the below line to get Cyrillic code page support instead
+CFLAGS+= -DLATIN1=1
+
# The wordview tcl/tk script is small and not required. If the user
# has tk, it will work. It comes preset for tk-8.0, but works with less.
-# You may define LATIN1 in CFLAGS. Little effect. See source.
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o catdoc catdoc.c)
diff --git a/textproc/catdoc/distinfo b/textproc/catdoc/distinfo
index 3f891860fdbf..c1351a6c6922 100644
--- a/textproc/catdoc/distinfo
+++ b/textproc/catdoc/distinfo
@@ -1 +1,3 @@
-MD5 (catdoc.tar) = dca9c43f851d6b21a0b4ec6a3caea17e
+MD5 (catdoc/catdoc.c) = f291dea140614cbb32a4f4d5014066aa
+MD5 (catdoc/catdoc.1) = 36f118fc44b4c4396c374708f1868ab7
+MD5 (catdoc/wordview) = 8707be8f8abeb33b235ae45e5c8e8569