aboutsummaryrefslogtreecommitdiffstats
path: root/print/detex/Makefile
blob: 478e47f16c7d74e9955e9f1ca00604e8a2d202dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ex:ts=8
# Ports collection makefile for:  detex
# Date created:           Mon Feb 17, 1997
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=   detex
PORTVERSION=    2.8
CATEGORIES= print
MASTER_SITES=   http://www.cs.purdue.edu/homes/trinkle/detex/
EXTRACT_SUFX=   .tar

MAINTAINER= ports@FreeBSD.org
COMMENT=    Strips TeX/LaTeX codes from a file

EXTRACT_CMD=        ${TAR}
EXTRACT_BEFORE_ARGS=    -xf
EXTRACT_AFTER_ARGS= #empty

MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H"
MAN1=       detex.1
PLIST_FILES=    bin/detex

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/detex ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1}l ${MANPREFIX}/man/man1/${MAN1}

.include <bsd.port.mk>