freebsd-ports/german/manpages/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

40 lines
927 B
Makefile

# New ports collection makefile for: German manpages
# Date created: 29 September 1997
# Whom: wosch
#
# $FreeBSD$
#
PORTNAME= manpages-de
PORTVERSION= 0.4
CATEGORIES= german
MASTER_SITES= http://www.infodrom.org/projects/manpages-de/download/ \
http://wolfram.schneider.org/src/
MAINTAINER= wosch@FreeBSD.org
COMMENT= German GNU and Linux manual pages
LANG= de.ISO8859-1
NO_WRKSUBDIR= YES
PLIST= ${WRKSRC}/PLIST
mandir= ${PREFIX}/man/${LANG}
manpages= ${PORTNAME}-${PORTVERSION}
do-build:
makewhatis ${WRKSRC}/${manpages}
.if !defined(NO_MANCOMPRESS)
${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0
.endif
pre-install:
${RM} -rf ${WRKSRC}/${manpages}/debian
${FIND} ${WRKSRC}/${manpages} -type f -print | \
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > ${PLIST}
do-install:
cd ${WRKSRC}/${manpages}; \
${TAR} cf - . | \
(cd ${mandir}; ${TAR} xf - )
.include <bsd.port.mk>