2000-01-11 14:47:47 +00:00
|
|
|
# New ports collection makefile for: flim for xemacs21-mule
|
1999-08-06 19:07:06 +00:00
|
|
|
# Date created: 25 July 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
1999-08-06 19:07:06 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-08-06 19:07:06 +00:00
|
|
|
#
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= shige@FreeBSD.org
|
1999-08-06 19:07:06 +00:00
|
|
|
|
|
|
|
# This is a slave port.
|
|
|
|
PORTCLASS= slave
|
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../../editors/flim-emacs
|
|
|
|
|
|
|
|
# emacs port setup
|
2000-07-13 05:19:02 +00:00
|
|
|
EMACS_PORT_NAME= xemacs21-mule
|
|
|
|
EMACS_PACKAGESDIR= ${EMACS_LIBDIR}/site-packages
|
1999-10-18 16:21:12 +00:00
|
|
|
# packages-subdirectories which this port requires
|
|
|
|
EMACS_PACKAGES_SUBDIRS= info lisp man pkginfo
|
1999-09-10 16:57:29 +00:00
|
|
|
|
2000-07-13 05:19:02 +00:00
|
|
|
SCRIPTS_ENV= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
|
|
|
|
PLIST_SUB= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
|
|
|
|
|
1999-09-10 16:57:29 +00:00
|
|
|
# how to make and install
|
|
|
|
ALL_TARGET= package
|
|
|
|
INSTALL_TARGET= install-package
|
1999-08-06 19:07:06 +00:00
|
|
|
|
1999-10-11 06:13:27 +00:00
|
|
|
# whether building info files by emacs or makeinfo
|
|
|
|
BUILD_INFO_BY_EMACS= YES
|
|
|
|
# texinfo packages
|
2000-07-17 02:37:41 +00:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/texinfo/texinfo.el:${PORTSDIR}/editors/xemacs-packages
|
1999-08-06 19:07:06 +00:00
|
|
|
|
|
|
|
# use pkg/* files in ${.CURDIR}
|
|
|
|
PKGDIR= ${.CURDIR}/pkg
|
|
|
|
|
1999-09-10 16:57:29 +00:00
|
|
|
# package info manifest
|
|
|
|
MANIFEST= MANIFEST.flim
|
2000-01-11 14:47:47 +00:00
|
|
|
|
|
|
|
# xemacs package
|
|
|
|
XEMACS_PKGNAME= flim
|
|
|
|
XEMACS_PKGVER= 1.12
|
|
|
|
#XEMACS_PKGVER!= grep version ${.CURDIR}/../flim-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-en.info info/mime-ja.info \
|
|
|
|
man/${XEMACS_PKGNAME}
|
|
|
|
|
1999-09-10 16:57:29 +00:00
|
|
|
# package documents
|
|
|
|
FLIMDOCDIR= ${EMACS_PACKAGESDIR}/lisp/flim
|
|
|
|
|
2000-01-11 14:47:47 +00:00
|
|
|
xemacs-package: install
|
|
|
|
@${RM} -f ${.CURDIR}/${XEMACS_PKG_TARBALL}
|
2000-07-13 05:19:02 +00:00
|
|
|
@(cd ${LOCALBASE}/${EMACS_PACKAGESDIR} ;\
|
2000-01-11 14:47:47 +00:00
|
|
|
${TAR} -zcf ${.CURDIR}/${XEMACS_PKG_TARBALL} ${XEMACS_PKG_CONTENTS} ;\
|
|
|
|
)
|
|
|
|
|
1999-08-06 19:07:06 +00:00
|
|
|
.include <${MASTERDIR}/Makefile>
|