mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
b724d6bfb1
- Add new mastersite, homepage, staging support - Clean pkg-plist PR: 195437 Submitted by: Henry Hu <henry.hu.sh@gmail.com>
38 lines
893 B
Makefile
38 lines
893 B
Makefile
# Created by: Kay Lehmann
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
USE_TEX= latex texhash
|
|
|
|
USES= zip
|
|
|
|
RESTRICTED= According to the README-file there is a license issue \
|
|
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.
|
|
|
|
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>
|