mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
897d06aa97
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# New ports collection makefile for: man.el with I18N
|
|
# Date created: 10 September 1998
|
|
# Whom: KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= i18n-man
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= misc elisp
|
|
MASTER_SITES= ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/ \
|
|
${MASTER_SITE_PORTS_JP}
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
# If you use Japanese manuals, install japanese/man as well.
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
ELISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
SITEPKGDIR= ${PREFIX}/lib/xemacs/site-packages
|
|
PKGMODULES= i18n-man-de i18n-man-en i18n-man-ja
|
|
|
|
do-install:
|
|
@${MKDIR} ${ELISPDIR} ${PREFIX}/share/doc/i18n-man
|
|
@cd ${WRKSRC}; \
|
|
${INSTALL_DATA} `${TAR} tzf ${DISTDIR}/${DISTFILES}` ${ELISPDIR}
|
|
# For xemacs package install configuration
|
|
${MKDIR} ${SITEPKGDIR}/pkginfo
|
|
.for f in ${PKGMODULES}
|
|
${MKDIR} ${SITEPKGDIR}/lisp/${f}
|
|
${LN} -sf ${ELISPDIR}/${f}.el ${SITEPKGDIR}/lisp/${f}/${f}.el
|
|
${LN} -sf ${ELISPDIR}/i18n-man.el ${SITEPKGDIR}/lisp/${f}/i18n-man.el
|
|
${ECHO_CMD} "pkginfo/MANIFEST.${f}" > ${SITEPKGDIR}/pkginfo/MANIFEST.${f}
|
|
${ECHO_CMD} "lisp/${f}/${f}.el" >> ${SITEPKGDIR}/pkginfo/MANIFEST.${f}
|
|
${ECHO_CMD} "lisp/${f}/i18n-man.el" >> ${SITEPKGDIR}/pkginfo/MANIFEST.${f}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${FILESDIR}/byte-compile ${PREFIX}/share/doc/i18n-man
|
|
|
|
.include <bsd.port.mk>
|