aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-12-10 12:43:15 +0800
committermax <max@FreeBSD.org>1997-12-10 12:43:15 +0800
commita8c974a8a122069166a1f1d75339bed2e2c71d8f (patch)
tree624d0511732a3ca2798d3c4dbb7162984f6c8cbd /japanese
parent8e6a525d8dde715add80b970b00d543d83658884 (diff)
downloadfreebsd-ports-graphics-a8c974a8a122069166a1f1d75339bed2e2c71d8f.tar.gz
freebsd-ports-graphics-a8c974a8a122069166a1f1d75339bed2e2c71d8f.tar.zst
freebsd-ports-graphics-a8c974a8a122069166a1f1d75339bed2e2c71d8f.zip
Now this port respects the value of ${PREFIX}.
Submitted by: maintainer PR: 5258
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 ab5457b9e25..46991888722 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>