1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/editors/tamago/Makefile
Pav Lucistnik 58a856cc4d - Fix plist and unbreak for tamago-emacs20
PR:		ports/67957
Submitted by:	KIMURA Yasuhiro <yasu@utahime.org>
2004-06-16 18:47:17 +00:00

49 lines
1.2 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"
.if ${EMACS_PORT_NAME} == emacs21
PLIST_SUB+= HAS_JISX0213=""
.else
PLIST_SUB+= HAS_JISX0213="@comment "
.endif
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>