2014-12-18 19:49:56 +00:00
|
|
|
# Created by: Kay Lehmann
|
|
|
|
|
|
|
|
PORTNAME= lgrind
|
|
|
|
PORTVERSION= 3.67
|
|
|
|
PORTREVISION= 8
|
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= http://mirrors.ctan.org/support/
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= Produce beautiful listings of source code with LaTeX
|
|
|
|
|
2021-05-04 09:32:20 +00:00
|
|
|
# Converted from RESTRICTED
|
2021-05-15 08:36:03 +00:00
|
|
|
LICENSE= lgrind-license
|
2021-05-04 09:32:20 +00:00
|
|
|
LICENSE_NAME= lgrind
|
|
|
|
LICENSE_TEXT= According to the README-file there is a license issue \
|
2014-12-18 19:49:56 +00:00
|
|
|
because of non-free code. Check the README file within \
|
|
|
|
the source tarball. No response from author of some code \
|
|
|
|
this port is based on.
|
2021-05-04 09:32:20 +00:00
|
|
|
LICENSE_PERMS= auto-accept
|
|
|
|
|
|
|
|
USE_TEX= latex texhash
|
|
|
|
|
|
|
|
USES= zip
|
2014-12-18 19:49:56 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
# PREFIX safeness
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e s'|^(BASEDIR).*$$|\1=${STAGEDIR}${PREFIX}|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e s'|%%PREFIX%%|${PREFIX}|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
# C{C,FLAGS} safeness
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e s'|^(CC).*$$|\1=${CC}|' \
|
|
|
|
-e s'|^(CFLAGS).*$$|\1=${CFLAGS}|' \
|
|
|
|
${WRKSRC}/source/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|