1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/flim-xemacs21-mule-current/Makefile

59 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: flim for xemacs21-mule
# Date created: 25 July 1999
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
MAINTAINER= shige@FreeBSD.org
# This is a slave port.
PORTCLASS= slave
MASTERDIR= ${.CURDIR}/../../editors/flim-emacs-current
# emacs port setup
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
1999-10-11 06:15:23 +00:00
# whether building info files by emacs or makeinfo
BUILD_INFO_BY_EMACS= YES
# texinfo packages
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/texinfo/texinfmt.el:${PORTSDIR}/editors/xemacs-packages
# use pkg-* files in ${.CURDIR}
PKGDIR= ${.CURDIR}
# package info manifest
MANIFEST= MANIFEST.flim
# xemacs package
XEMACS_PKGNAME= flim
XEMACS_PKGVER= 1.13
#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}
# package documents
FLIMDOCDIR= ${EMACS_PACKAGESDIR}/lisp/flim
xemacs-package: install
@${RM} -f ${.CURDIR}/${XEMACS_PKG_TARBALL}
@(cd ${LOCALBASE}/${EMACS_PACKAGESDIR} ;\
${TAR} -zcf ${.CURDIR}/${XEMACS_PKG_TARBALL} ${XEMACS_PKG_CONTENTS} ;\
)
.include <${MASTERDIR}/Makefile>