mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
cad6814b3a
consistently. Do not use variable substitution to define ${PKGNAME} (sorry for being selfish, but having a variable here is really a pain for my cut & paste work).
41 lines
1008 B
Makefile
41 lines
1008 B
Makefile
# New ports collection makefile for: Japanese man documents
|
|
# Version required: 2.2.2g
|
|
# Date created: 6 January 1997
|
|
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
#
|
|
# $Id: Makefile,v 1.15 1997/12/10 04:43:15 max Exp $
|
|
#
|
|
|
|
DISTNAME= jpman-${VERSION}g
|
|
PKGNAME= ja-man-doc-2.2.2g
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
RUN_DEPENDS= jman:${PORTSDIR}/japanese/man
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/jpman-${VERSION}
|
|
SCRIPTS_ENV= TMPL_FILE=${TMPL_FILE} PKGDIR=${PKGDIR} AWK=${AWK} \
|
|
CAT=${CAT} ECHO=${ECHO} GZIP_CMD="${GZIP_CMD}" \
|
|
RM=${RM} SED=${SED}
|
|
PLIST= ${WRKSRC}/PLIST
|
|
|
|
VERSION= 2.2.2
|
|
TMPL_FILE= install-man
|
|
|
|
do-install:
|
|
.if !defined(NOMANCOMPRESS)
|
|
@${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \
|
|
${WRKSRC}/${TMPL_FILE} MANCOMPRESSED
|
|
.else
|
|
@${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \
|
|
${WRKSRC}/${TMPL_FILE} NOMANCOMPRESS
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|