1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/print/detex/Makefile
Greg Lewis b2e549bbdc . FreeBSD has <string.h>, so define HAVE_STRING_H during compilation.
This gets rid of warnings about implicit declarations of strlen, etc.
2010-02-05 06:37:48 +00:00

31 lines
693 B
Makefile

# 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>