diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-12-10 08:57:16 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-12-10 08:57:16 +0000 |
commit | cad6814b3a850d7482cd849b4895c932d9943f93 (patch) | |
tree | 5c86f7c964ce35c41444bc4e1e306047c2acbc3f /japanese | |
parent | Now this port respects the value of ${PREFIX}. (diff) |
Create install-man script and PLIST in ${WRKSRC}. Use TMPL_FILE more
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).
Notes
Notes:
svn path=/head/; revision=9046
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/man-doc/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/japanese/man-doc/Makefile b/japanese/man-doc/Makefile index 469918887220..7daf9e613516 100644 --- a/japanese/man-doc/Makefile +++ b/japanese/man-doc/Makefile @@ -3,11 +3,11 @@ # Date created: 6 January 1997 # Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp> # -# $Id: Makefile,v 1.14 1997/12/08 09:26:42 max Exp $ +# $Id: Makefile,v 1.15 1997/12/10 04:43:15 max Exp $ # DISTNAME= jpman-${VERSION}g -PKGNAME= ja-man-doc-${VERSION}g +PKGNAME= ja-man-doc-2.2.2g CATEGORIES= japanese MASTER_SITES= ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/ @@ -20,6 +20,7 @@ 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 @@ -27,16 +28,13 @@ TMPL_FILE= install-man do-install: .if !defined(NOMANCOMPRESS) @${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \ - ${FILESDIR}/install-man MANCOMPRESSED + ${WRKSRC}/${TMPL_FILE} MANCOMPRESSED .else @${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \ - ${FILESDIR}/install-man NOMANCOMPRESS + ${WRKSRC}/${TMPL_FILE} NOMANCOMPRESS .endif post-install: @${CAT} ${PKGDIR}/MESSAGE -pre-clean: - @${RM} -f ${FILESDIR}/${TMPL_FILE} ${PKGDIR}/PLIST - .include <bsd.port.mk> |