1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/print/perlftlib/Makefile
Martin Wilke 8ca9f0d689 - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with src
PR:	ports/136065 ports/127469
Submitted by:	N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com>

- Early identify port CONFLICTS

PR:	137855
Submitted by:		Piotr Smyrak <smyru@heron.pl>

- Add --no-same-permissions to the EXTRACT_AFTER_ARGS command.

Tijl Coosemans has been reported an issue that when root is extracting from the
tarball, and the tarball contains world writable files
(sysutils/policykit as an example), there is a chance that the files
gets changed by malicious third parties right after the extraction,
which makes it possible to inject code into the package thus compromise
the system.

Submitted by:	Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@)

- Fix some whitespaces

Tested with:	exp-run
2009-12-29 10:25:55 +00:00

42 lines
933 B
Makefile

# New ports collection makefile for: perlftlib
# Date created: 98/12/22
# Whom: Satoshi TAOKA <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= perlftlib
PORTVERSION= 1.2
CATEGORIES= print perl5
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sada
MAINTAINER= ports@FreeBSD.org
COMMENT= Libraries to use the FreeType library from the perl language
RUN_DEPENDS= ${SITE_PERL}/jcode.pl:${PORTSDIR}/japanese/jcode.pl
USE_FREETYPE= yes
USE_PERL5= yes
NO_MANCOMPRESS= yes
MAN1= mkttfdir.1 ftinfo.1
MAN3= FreeType.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAKE_ENV= PERL_VER=${PERL_VERSION} PERL5=${PERL5}
post-patch:
.for VAR in LOCALBASE PREFIX
@${PERL} -pi -e 's!%%${VAR}%%!${${VAR}}!g' \
${WRKSRC}/FreeType/Makefile.PL
.endfor
post-build:
.for DIST in ftinfo mkttfdir
@${PERL} -pi -e 's;^#! */usr/local/bin/perl *;#!${PERL5};' \
${WRKSRC}/${DIST}
.endfor
.include <bsd.port.mk>