1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/print/detex/Makefile
Rene Ladan a45f345a6a print/detex: Fix typo to pass the Freshports sanity check.
Unmute an installation command while here.
2014-06-23 09:37:06 +00:00

36 lines
819 B
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= detex
PORTVERSION= 2.8
PORTREVISION= 1
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
LICENSE= MIT
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H"
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-extract:
@(cd ${WRKSRC} && ${MV} ${PORTNAME}.1l ${PORTNAME}.1)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>