freebsd-ports/editors/tamago/Makefile
Jun Kuriyama 38a1897919 Without touching .nosearch, normal-top-level-add-subdirs-to-load-path
function in subdirs.el adds %%ELISPDIR%%/egg/egg which is for
implementation specific.

This port has egg/egg/anthy.el, and japanese/anthy also have anthy.el
for actual use.  Anthy tries to load egg/egg/anthy.el, not thier
anthy.el without this fix.
2004-05-22 04:59:52 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: tamago
# Date created: 6 March 2000
# Whom: tetsushi NAKAI <nakai@tsl.pe.u-tokyo.ac.jp>
#
# $FreeBSD$
#
PORTNAME= tamago
PORTVERSION= 4.0.6.0.20020909.4
PORTREVISION= 1
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/e/egg
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= egg_4.0.6+0.20020909cvs.orig
PATCH_SITES= ${MASTER_SITE_DEBIAN:S,%SUBDIR%,pool/main/e/egg,} \
${MASTER_SITE_LOCAL:S,%SUBDIR%,nork,}
PATCHFILES= egg_4.0.6+0.20020909cvs-4.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER?= ports@FreeBSD.org
COMMENT?= The Multilingual Input Method - Egg V4
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
EMACS_PORT_NAME?= emacs21
WRKSRC= ${WRKDIR}/egg-4.0.6+0.20020909cvs.orig
ELISPDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
PLIST_SUB= ELISPDIR="${EMACS_LIBDIR_WITH_VER}/site-lisp"
pre-configure:
@${REINPLACE_CMD} -e 's|emacs/site-lisp|${EMACS_NAME}/${EMACS_VER}/site-lisp|g' \
${WRKSRC}/configure
post-install:
${TOUCH} ${ELISPDIR}/egg/egg/.nosearch
.include <bsd.port.mk>