mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
1c6ed8eca3
With hat: portmgr
30 lines
815 B
Makefile
30 lines
815 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= csv2latex
|
|
PORTVERSION= 0.18
|
|
PORTEPOCH= 1
|
|
CATEGORIES= textproc converters
|
|
MASTER_SITES= http://ftp.debian.org/pool/main/c/csv2latex/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Converts a well formed csv file to a LaTeX document
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PLIST_FILES= bin/csv2latex man/man1/${PORTNAME}.1.gz
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
|
docbook-to-man ${WRKSRC}/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|