2000-01-11 09:47:47 -05:00
|
|
|
# New ports collection makefile for: semi for xemacs21-mule
|
1999-08-06 15:19:53 -04:00
|
|
|
# Date created: 25 July 1999
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
1999-08-06 15:19:53 -04:00
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1999-08-06 15:19:53 -04:00
|
|
|
#
|
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= shige@FreeBSD.org
|
1999-08-06 15:19:53 -04:00
|
|
|
|
|
|
|
# This is a slave port.
|
|
|
|
PORTCLASS= slave
|
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../../editors/semi-emacs
|
|
|
|
|
|
|
|
# emacs port setup
|
2000-07-13 01:19:02 -04:00
|
|
|
EMACS_PORT_NAME= xemacs21-mule
|
|
|
|
EMACS_PACKAGESDIR= ${EMACS_LIBDIR}/site-packages
|
1999-10-18 12:21:12 -04:00
|
|
|
# packages-subdirectories which this port requires
|
|
|
|
EMACS_PACKAGES_SUBDIRS= info lisp man pkginfo
|
1999-09-10 13:04:00 -04:00
|
|
|
|
2000-07-13 01:19:02 -04:00
|
|
|
SCRIPTS_ENV= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
|
|
|
|
PLIST_SUB= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
|
|
|
|
|
1999-09-10 13:04:00 -04:00
|
|
|
# how to make and install
|
|
|
|
ALL_TARGET= package
|
|
|
|
INSTALL_TARGET= install-package
|
1999-08-06 15:19:53 -04:00
|
|
|
|
|
|
|
# RUN_DEPENDS port name's suffix is '-common'.
|
1999-10-11 02:21:03 -04:00
|
|
|
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
|
2000-07-17 02:17:34 -04:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/texinfo/texinfmt.el:${PORTSDIR}/editors/xemacs-packages
|
1999-08-06 15:19:53 -04:00
|
|
|
|
2000-10-08 06:23:48 -04:00
|
|
|
# use pkg-* files in ${.CURDIR}
|
|
|
|
PKGDIR= ${.CURDIR}
|
1999-08-06 15:19:53 -04:00
|
|
|
|
1999-09-10 13:04:00 -04:00
|
|
|
# package info manifest
|
|
|
|
MANIFEST= MANIFEST.semi
|
2000-01-11 09:47:47 -05:00
|
|
|
|
|
|
|
# xemacs package
|
|
|
|
XEMACS_PKGNAME= semi
|
|
|
|
XEMACS_PKGVER= 1.13
|
|
|
|
#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}
|
|
|
|
|
1999-09-10 13:04:00 -04:00
|
|
|
# package documents
|
|
|
|
SEMIDOCDIR= ${EMACS_PACKAGESDIR}/lisp/semi
|
|
|
|
|
2000-01-11 09:47:47 -05:00
|
|
|
xemacs-package: install
|
|
|
|
@${RM} -f ${.CURDIR}/${XEMACS_PKG_TARBALL}
|
2000-07-13 01:19:02 -04:00
|
|
|
@(cd ${LOCALBASE}/${EMACS_PACKAGESDIR} ;\
|
2000-01-11 09:47:47 -05:00
|
|
|
${TAR} -zcf ${.CURDIR}/${XEMACS_PKG_TARBALL} ${XEMACS_PKG_CONTENTS} ;\
|
|
|
|
)
|
|
|
|
|
1999-08-06 15:19:53 -04:00
|
|
|
.include <${MASTERDIR}/Makefile>
|