1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/print/easylatex/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

38 lines
1.0 KiB
Makefile

# Created by: Nicola Vitale <nivit@email.it>
# $FreeBSD$
PORTNAME= easylatex
PORTVERSION= 0.080
CATEGORIES= print textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Perl script which transforms "pseudo-LaTeX" into proper LaTeX
RUN_DEPENDS= p5-Getopt-Declare>=0:devel/p5-Getopt-Declare
NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= ${PORTNAME}.pl
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's,/usr/lib/easylatex,${DATADIR},' \
${WRKSRC}/${PORTNAME}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo.txt ${WRKSRC}/demo-no-graph.txt \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>