1998-02-12 17:30:29 +00:00
|
|
|
# New ports collection makefile for: catdoc
|
|
|
|
# Version required: 0.3
|
|
|
|
# Date created: 11 November 1997
|
|
|
|
# Whom: Brion Moss <brion@queeg.com>
|
|
|
|
#
|
1998-07-24 11:48:20 +00:00
|
|
|
# $Id: Makefile,v 1.4 1998/06/18 14:53:03 hoek Exp $
|
1998-02-12 17:30:29 +00:00
|
|
|
#
|
|
|
|
|
1998-06-18 14:53:05 +00:00
|
|
|
DISTNAME= catdoc-0.35
|
1998-02-12 17:30:29 +00:00
|
|
|
CATEGORIES= textproc
|
1998-06-18 14:53:05 +00:00
|
|
|
MASTER_SITES= http://www.ice.ru/~vitus/works/
|
1998-02-12 17:30:29 +00:00
|
|
|
|
|
|
|
MAINTAINER= brion@queeg.com
|
|
|
|
|
|
|
|
MAN1= catdoc.1
|
|
|
|
|
1998-07-24 11:48:20 +00:00
|
|
|
.if !defined(LANG) || ${LANG} != ru_RU.KOI8-R
|
1998-03-16 21:17:29 +00:00
|
|
|
# Remove the below line to get Cyrillic code page support instead
|
|
|
|
CFLAGS+= -DLATIN1=1
|
1998-07-24 11:48:20 +00:00
|
|
|
.endif
|
1998-03-16 21:17:29 +00:00
|
|
|
|
1998-02-12 17:30:29 +00:00
|
|
|
# The wordview tcl/tk script is small and not required. If the user
|
1998-06-18 14:53:05 +00:00
|
|
|
# has tk, it will work. It comes preset for tcl/tk-8.0, but works with tcl-76.
|
1998-02-12 17:30:29 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o catdoc catdoc.c)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/catdoc ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wordview ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/catdoc.1 ${PREFIX}/man/man1/catdoc.1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|