diff options
Diffstat (limited to 'japanese/lookup-mule/Makefile')
-rw-r--r-- | japanese/lookup-mule/Makefile | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/japanese/lookup-mule/Makefile b/japanese/lookup-mule/Makefile index 72ac343f9781..b0a3362a69ac 100644 --- a/japanese/lookup-mule/Makefile +++ b/japanese/lookup-mule/Makefile @@ -5,45 +5,7 @@ # $FreeBSD$ # -PORTNAME= lookup -PORTVERSION= 1.3 -PKGNAMESUFFIX= -${EMACS_PORT_NAME} -CATEGORIES= japanese elisp -MASTER_SITES= http://download.sourceforge.net/lookup/ +MASTERDIR= ${.CURDIR}/../lookup +EMACS_PORT_NAME= mule -MAINTAINER= taoka@FreeBSD.org - -RUN_DEPENDS+= eblook:${PORTSDIR}/japanese/eblook - -FILESDIR= ${.CURDIR}/../lookup-mule/files -PKGDIR= ${.CURDIR}/../lookup-mule -PLIST= ${.CURDIR}/pkg-plist -EMACS_PORT_NAME?= mule - -.if (${EMACS_PORT_NAME} == "xemacs21-mule") -EMACSDIR= ${PREFIX}/lib/xemacs/site-packages -ELISPDIR= ${EMACSDIR}/lisp/lookup -PORTINFODIR= ${EMACSDIR}/info -MANIFEST= MANIFEST.lookup -.else -EMACSDIR= ${PREFIX}/share/${EMACS_NAME}/site-lisp -ELISPDIR= ${EMACSDIR}/lookup -PORTINFODIR= ${PREFIX}/info -.endif -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \ - --with-lispdir=${ELISPDIR} \ - --infodir=${PORTINFODIR} - -post-install: -.if (${EMACS_PORT_NAME} == "xemacs21-mule") - ${RM} -f ${WRKDIR}/${MANIFEST} - emacsdir=`${ECHO} ${EMACSDIR} | ${SED} -e "s;^${PREFIX}/;;"`; \ - ${CAT} ${PLIST} | ${GREP} -e "^$${emacsdir}" | \ - ${SED} -e "s;^$${emacsdir}/;;" > ${WRKDIR}/${MANIFEST} - ${MKDIR} ${EMACSDIR}/pkginfo - ${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \ - ${EMACSDIR}/pkginfo/ -.endif - -.include <bsd.port.mk> +.include "${MASTERDIR}/Makefile" |