aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/man-doc/Makefile29
1 files changed, 11 insertions, 18 deletions
diff --git a/japanese/man-doc/Makefile b/japanese/man-doc/Makefile
index ab5457b9e25d..469918887220 100644
--- a/japanese/man-doc/Makefile
+++ b/japanese/man-doc/Makefile
@@ -3,7 +3,7 @@
# Date created: 6 January 1997
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
-# $Id: Makefile,v 1.13 1997/09/24 03:20:10 max Exp $
+# $Id: Makefile,v 1.14 1997/12/08 09:26:42 max Exp $
#
DISTNAME= jpman-${VERSION}g
@@ -16,34 +16,27 @@ 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}
VERSION= 2.2.2
-JPMANDIR= jpman-${VERSION}
-WRKSRC= ${WRKDIR}/${JPMANDIR}
+TMPL_FILE= install-man
do-install:
.if !defined(NOMANCOMPRESS)
- @${SETENV} LANG="${LANG}" PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
- PKGDIR=${PKGDIR} DISTDIR=${DISTDIR} DISTFILES=${DISTFILES} \
- JPMANDIR=${JPMANDIR} EXTRACT_CMD=${EXTRACT_CMD} \
- ECHO=${ECHO} RM=${RM} AWK=${AWK} \
- GZIP_CMD="${GZIP_CMD}" SED=${SED} \
- INSTALL_MAN="${INSTALL_MAN}" ${SH} \
- ${FILESDIR}/install-man MANCOMPRESSED
+ @${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \
+ ${FILESDIR}/install-man MANCOMPRESSED
.else
- @${SETENV} LANG="${LANG}" PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
- PKGDIR=${PKGDIR} DISTDIR=${DISTDIR} \
- DISTFILES=${DISTFILES} JPMANDIR=${JPMANDIR} \
- EXTRACT_CMD=${EXTRACT_CMD} ECHO=${ECHO} RM=${RM} \
- AWK=${AWK} GZIP_CMD="${GZIP_CMD}" SED=${SED} \
- INSTALL_MAN="${INSTALL_MAN}" ${SH} \
- ${FILESDIR}/install-man NOMANCOMPRESS
+ @${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \
+ ${FILESDIR}/install-man NOMANCOMPRESS
.endif
post-install:
@${CAT} ${PKGDIR}/MESSAGE
pre-clean:
- @${RM} -f ${PKGDIR}/PLIST
+ @${RM} -f ${FILESDIR}/${TMPL_FILE} ${PKGDIR}/PLIST
.include <bsd.port.mk>