5114e2637e
bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too.
40 lines
968 B
Makefile
40 lines
968 B
Makefile
# New ports collection makefile for: German manpages
|
|
# Version required: 1.0
|
|
# Date created: 29 September 1997
|
|
# Whom: wosch
|
|
#
|
|
# $Id: Makefile,v 1.7 1998/08/25 01:25:05 asami Exp $
|
|
#
|
|
|
|
DISTNAME= de-manpages-1.0
|
|
CATEGORIES= german
|
|
MASTER_SITES= http://www.freebsd.org/~wosch/src/ \
|
|
ftp://ftp.Infodrom.North.DE/pub/Linux/Devel/manpages-de/
|
|
DISTFILES= ${manpages}.tgz
|
|
|
|
MAINTAINER= wosch@FreeBSD.org
|
|
|
|
LANG= de_DE.ISO_8859-1
|
|
NO_WRKSUBDIR= YES
|
|
PLIST= ${WRKSRC}/PLIST
|
|
|
|
mandir= ${PREFIX}/man/${LANG}
|
|
manpages= manpages-de
|
|
|
|
do-build:
|
|
ln -s ${WRKSRC}/${manpages} ${WRKSRC}/de-man
|
|
makewhatis ${WRKSRC}/de-man
|
|
.if !defined(NOMANCOMPRESS)
|
|
${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/${manpages}; \
|
|
${TAR} cf - . | \
|
|
(cd ${mandir}; ${TAR} xf - )
|
|
find ${WRKSRC}/${manpages} -type f -print | \
|
|
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > \
|
|
${WRKSRC}/PLIST
|
|
|
|
.include <bsd.port.mk>
|