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