mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
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.
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# New ports collection makefile for: perl5jman
|
|
# Version required: 5.000
|
|
# Date created: 29 June 1998
|
|
# Whom: SADA Kenji <sada@e-mail.ne.jp>
|
|
#
|
|
# $Id: Makefile,v 1.1.1.1 1998/07/12 23:18:58 steve Exp $
|
|
#
|
|
|
|
DISTNAME= perl5.000man-j
|
|
PKGNAME= ja-p5-man-5.000
|
|
CATEGORIES= japanese perl5
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/
|
|
|
|
MAINTAINER= sada@e-mail.ne.jp
|
|
|
|
NO_BUILD= yes
|
|
MANPREFIX= ${PREFIX}/man/ja
|
|
|
|
CAT1= a2p.1 perl.1 perlapi.1 perlbook.1 perlbot.1 perlcall.1 \
|
|
perldata.1 perldebug.1 perldiag.1 perlembed.1 perlform.1 \
|
|
perlfunc.1 perlguts.1 perlipc.1 perlmod.1 perlobj.1 perlop.1 \
|
|
perlovl.1 perlpod.1 perlre.1 perlref.1 perlrun.1 perlsec.1 \
|
|
perlstyle.1 perlsub.1 perlsyn.1 perltrap.1 perlvar.1 s2p.1
|
|
CAT3= Abbrev.3pm AnyDBMFile.3pm AutoLoader.3pm AutoSplit.3pm \
|
|
Basename.3pm Benchmark.3pm Carp.3pm CheckTree.3pm Collate.3pm \
|
|
Config.3pm Cwd.3pm DB_File.3pm Dynaloader.3pm English.3pm \
|
|
Env.3pm Exporter.3pm Fcntl.3pm FileHandle.3pm Find.3pm \
|
|
Finddepth.3pm GetOptions.3pm Getopt.3pm MakeMaker.3pm \
|
|
Open2.3pm Open3.3pm POSIX.3pm Ping.3pm Socket.3pm \
|
|
integer.3pm less.3pm sigtrap.3pm strict.3pm subs.3pm
|
|
|
|
post-extract:
|
|
@cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
|
perl5man.tgz ${EXTRACT_AFTER_ARGS}
|
|
do-configure:
|
|
.for item in 1 3
|
|
@cd ${WRKDIR}/man/japanese/cat${item} && ${GZIP_CMD} ${CAT${item}}
|
|
.endfor
|
|
do-install:
|
|
.for item in 1 3
|
|
@${MKDIR} ${MANPREFIX}/cat${item}
|
|
.for file in ${CAT${item}}
|
|
@${INSTALL_MAN} ${WRKDIR}/man/japanese/cat${item}/${file}.gz \
|
|
${MANPREFIX}/cat${item}
|
|
.endfor
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
plist:
|
|
@echo -n >${PLIST}
|
|
.for item in 1 3
|
|
.for file in ${CAT${item}}
|
|
@echo man/ja/cat${item}/${file}.gz >>${PLIST}
|
|
.endfor
|
|
.endfor
|