2003-05-19 10:32:37 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: csv2latex
|
|
|
|
# Date created: May 19, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= csv2latex
|
2010-05-25 04:19:34 +02:00
|
|
|
PORTVERSION= 0.18
|
2006-03-17 13:36:48 +01:00
|
|
|
PORTEPOCH= 1
|
2009-03-14 15:10:22 +01:00
|
|
|
CATEGORIES= textproc converters
|
2009-10-18 04:41:21 +02:00
|
|
|
MASTER_SITES= http://herewe.servebeer.com/csv2latex/releases/ \
|
|
|
|
http://brouits.free.fr/csv2latex/
|
2003-05-19 10:32:37 +02:00
|
|
|
|
2009-10-18 04:41:21 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2003-05-19 10:32:37 +02:00
|
|
|
COMMENT= Converts a well formed csv file to a LaTeX document
|
|
|
|
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/csv2latex
|
2003-05-19 10:32:37 +02:00
|
|
|
|
2009-06-15 23:07:21 +02:00
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
|
|
|
|
2003-05-19 10:32:37 +02:00
|
|
|
do-install:
|
2006-03-17 13:36:48 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
2003-05-19 10:32:37 +02:00
|
|
|
|
2009-06-15 23:07:21 +02:00
|
|
|
.if ( defined(WITH_MAN) && !defined(NO_INSTALL_MANPAGES) )
|
|
|
|
BUILD_DEPENDS += docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
docbook-to-man ${WRKSRC}/${PORTNAME}.sgml > ${WRKSRC}/${MAN1}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2003-05-19 10:32:37 +02:00
|
|
|
.include <bsd.port.mk>
|