2013-09-21 01:17:30 +02:00
|
|
|
# Created by: ijliao
|
2003-05-19 10:32:37 +02:00
|
|
|
# $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
|
2011-01-16 03:24:01 +01:00
|
|
|
MASTER_SITES= http://ftp.debian.org/pool/main/c/csv2latex/
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
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
|
|
|
|
|
2011-01-16 03:24:01 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/csv2latex
|
2003-05-19 10:32:37 +02:00
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
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>
|