1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/print/detex/Makefile
Baptiste Daroussin 5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00

22 lines
529 B
Makefile

# Created by: 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
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>