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
|
|
|
|
|
2014-01-26 12:57:13 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man
|
2014-08-18 21:13:18 +02:00
|
|
|
|
2011-01-16 03:24:01 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2014-08-18 21:13:18 +02:00
|
|
|
PLIST_FILES= bin/csv2latex man/man1/${PORTNAME}.1.gz
|
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
|
2014-08-18 21:13:18 +02:00
|
|
|
docbook-to-man ${WRKSRC}/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.1
|
2009-06-15 23:07:21 +02:00
|
|
|
|
2003-05-19 10:32:37 +02:00
|
|
|
do-install:
|
2014-01-26 12:57:13 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2009-06-15 23:07:21 +02:00
|
|
|
|
2003-05-19 10:32:37 +02:00
|
|
|
.include <bsd.port.mk>
|