# Created by: Shigeyuki FUKUSHIMA # $FreeBSD$ MAINTAINER= ports@FreeBSD.org COMMENT= SEMI, Library of MIME feature for GNU Emacs for xemacs21-mule # This is a slave port. PORTCLASS= slave MASTERDIR= ${.CURDIR}/../../editors/semi # emacs port setup USE_EMACS= yes EMACS_PORT_NAME= xemacs21-mule EMACS_PACKAGESDIR= ${EMACS_LIBDIR}/site-packages # packages-subdirectories which this port requires EMACS_PACKAGES_SUBDIRS= info lisp man pkginfo SCRIPTS_ENV= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} PLIST_SUB= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} # how to make and install ALL_TARGET= package INSTALL_TARGET= install-package # RUN_DEPENDS port name's suffix is '-common'. HAS_COMMON_PORT= YES # whether emacs has mule feature HAS_MULE= YES # whether building info files by emacs or makeinfo BUILD_INFO_BY_EMACS= YES # texinfo packages BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/texinfo/texinfmt.el:${PORTSDIR}/editors/xemacs-packages # package info manifest MANIFEST= MANIFEST.semi # xemacs package XEMACS_PKGNAME= semi XEMACS_PKGVER= 1.14 #XEMACS_PKGVER!= grep version ${.CURDIR}/../semi-emacs/files/_pkg.el | \ # sed 's/.*:version \([0-9.]*\).*/\1/' XEMACS_PKG_TARBALL= ${XEMACS_PKGNAME}-${XEMACS_PKGVER}-pkg.tar.gz XEMACS_PKG_CONTENTS= pkginfo/${MANIFEST} lisp/${XEMACS_PKGNAME} \ info/mime-ui-en.info info/mime-ui-ja.info \ man/${XEMACS_PKGNAME} # package documents SEMIDOCDIR= ${EMACS_PACKAGESDIR}/lisp/semi xemacs-package: install @${RM} -f ${.CURDIR}/${XEMACS_PKG_TARBALL} @(cd ${LOCALBASE}/${EMACS_PACKAGESDIR} ;\ ${TAR} -zcf ${.CURDIR}/${XEMACS_PKG_TARBALL} ${XEMACS_PKG_CONTENTS} ;\ ) NO_STAGE= yes .include "${MASTERDIR}/Makefile"