diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-01-09 16:28:42 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 2000-01-09 16:28:42 +0000 |
commit | 16d317466b581ce6431d3a44c39736d72d196c4c (patch) | |
tree | d4b349be94847e785f89c1520a9f65018917ca4f /editors/apel/Makefile | |
parent | I belive this can compile in "parallel package build". (diff) |
Install _pkg.el for xemacs(21.x or later) package version descriptor.
Diffstat (limited to 'editors/apel/Makefile')
-rw-r--r-- | editors/apel/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile index b0089ea64ce4..692f92d2831e 100644 --- a/editors/apel/Makefile +++ b/editors/apel/Makefile @@ -39,7 +39,7 @@ ALL_TARGET?= elc .if defined(EMACS_PORT) PKGNAME= apel-${EMACS_PORT}-${APEL_VER} -EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER} +EMACS_CMD?= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER} BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT} .if defined(HAVE_COMMON_PORT) && (${HAVE_COMMON_PORT} == "YES") RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}-common @@ -82,6 +82,9 @@ pre-install: .if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS) @${MAKE} mkdir-site-packages .endif +.if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME) + @${MAKE} pkg-el-install +.endif post-install: .if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES") @@ -104,6 +107,13 @@ mkdir-site-packages: ${MKDIR} ${PREFIX}/${EMACS_PACKAGESDIR}/$${i} ; \ done) +pkg-el-install: + @(if [ -f ${FILESDIR}/_pkg.el ] ; then \ + ${MKDIR} ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/${XEMACS_PKGNAME} ;\ + ${INSTALL_DATA} ${FILESDIR}/_pkg.el \ + ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/${XEMACS_PKGNAME}/_pkg.el ;\ + fi) + doc-install: @${MKDIR} ${PREFIX}/${APELDOCDIR} @(cd ${WRKSRC} ; \ |