1999-09-06 12:34:46 +00:00
|
|
|
# New ports collection makefile for: lookup for Mule 2.3
|
|
|
|
# Date created: 98/11/19
|
1999-09-08 15:21:53 +00:00
|
|
|
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
1999-09-06 12:34:46 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= lookup
|
2000-07-10 17:31:26 +00:00
|
|
|
PORTVERSION= 1.3
|
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
1999-09-06 12:34:46 +00:00
|
|
|
CATEGORIES= japanese elisp
|
2000-07-10 17:31:26 +00:00
|
|
|
MASTER_SITES= http://download.sourceforge.net/lookup/
|
1999-09-06 12:34:46 +00:00
|
|
|
|
1999-09-08 15:21:53 +00:00
|
|
|
MAINTAINER= taoka@FreeBSD.org
|
1999-09-06 12:34:46 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS+= eblook:${PORTSDIR}/japanese/eblook
|
|
|
|
|
|
|
|
FILESDIR= ${.CURDIR}/../lookup-mule/files
|
|
|
|
PKGDIR= ${.CURDIR}/../lookup-mule/pkg
|
|
|
|
PLIST= ${.CURDIR}/pkg/PLIST
|
2000-07-10 17:31:26 +00:00
|
|
|
EMACS_PORT_NAME?= mule
|
1999-09-06 12:34:46 +00:00
|
|
|
|
2000-07-10 17:31:26 +00:00
|
|
|
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
|
1999-09-27 13:42:05 +00:00
|
|
|
EMACSDIR= ${PREFIX}/lib/xemacs/site-packages
|
|
|
|
ELISPDIR= ${EMACSDIR}/lisp/lookup
|
|
|
|
PORTINFODIR= ${EMACSDIR}/info
|
|
|
|
MANIFEST= MANIFEST.lookup
|
1999-09-06 12:34:46 +00:00
|
|
|
.else
|
2000-07-10 17:31:26 +00:00
|
|
|
EMACSDIR= ${PREFIX}/share/${EMACS_NAME}/site-lisp
|
1999-09-27 13:42:05 +00:00
|
|
|
ELISPDIR= ${EMACSDIR}/lookup
|
|
|
|
PORTINFODIR= ${PREFIX}/info
|
1999-09-06 12:34:46 +00:00
|
|
|
.endif
|
2000-07-10 17:31:26 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
|
|
|
|
--with-lispdir=${ELISPDIR} \
|
|
|
|
--infodir=${PORTINFODIR}
|
1999-09-06 12:34:46 +00:00
|
|
|
|
1999-09-27 13:42:05 +00:00
|
|
|
post-install:
|
2000-07-11 03:50:32 +00:00
|
|
|
.if (${EMACS_PORT_NAME} == "xemacs21-mule")
|
1999-09-27 13:42:05 +00:00
|
|
|
${RM} -f ${WRKDIR}/${MANIFEST}
|
|
|
|
emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \
|
|
|
|
${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \
|
1999-09-29 07:32:29 +00:00
|
|
|
${SED} -e "s;^$${emacsdir}/;;" > ${WRKDIR}/${MANIFEST}
|
1999-09-27 13:42:05 +00:00
|
|
|
${MKDIR} ${EMACSDIR}/pkginfo
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
|
|
|
|
${EMACSDIR}/pkginfo/
|
|
|
|
.endif
|
|
|
|
|
1999-09-06 12:34:46 +00:00
|
|
|
.include <bsd.port.mk>
|