aboutsummaryrefslogtreecommitdiffstats
path: root/editors/semi-emacs-current
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-10-16 14:01:41 +0800
committershige <shige@FreeBSD.org>1999-10-16 14:01:41 +0800
commit57c0bf1e237300b330bd056f2047a9e5f3906cae (patch)
tree319d0e3f70f36b855d4e5f4a6f301b23af1d113c /editors/semi-emacs-current
parent096258772f1807f05237931e7351c78bae478899 (diff)
downloadfreebsd-ports-gnome-57c0bf1e237300b330bd056f2047a9e5f3906cae.tar.gz
freebsd-ports-gnome-57c0bf1e237300b330bd056f2047a9e5f3906cae.tar.zst
freebsd-ports-gnome-57c0bf1e237300b330bd056f2047a9e5f3906cae.zip
Install semi-cookie for FreeBSD packages.
Diffstat (limited to 'editors/semi-emacs-current')
-rw-r--r--editors/semi-emacs-current/Makefile4
-rw-r--r--editors/semi-emacs-current/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/editors/semi-emacs-current/Makefile b/editors/semi-emacs-current/Makefile
index 0d63c3c3bc19..219e60b81a55 100644
--- a/editors/semi-emacs-current/Makefile
+++ b/editors/semi-emacs-current/Makefile
@@ -58,7 +58,7 @@ PLIST_SUB+= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR} \
SEMIDOCDIR=${SEMIDOCDIR} SEMI_SETUPEL=${SEMI_SETUPEL} \
- FLIM_COOKIE=${FLIM_COOKIE}
+ SEMI_COOKIE=${SEMI_COOKIE}
MAKE_FLAGS+= EMACS=${EMACS_CMD} XEMACS=${EMACS_CMD}
.if (${EMACS_VER} == "19.34")
# depends on custom: emacs-19.34 or mule-19.34
@@ -108,6 +108,8 @@ post-build:
.endif
post-install:
+ @${MKDIR} -p ${PREFIX}/share/semi
+ @${TOUCH} ${PREFIX}/share/semi/${SEMI_COOKIE}
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@${MAKE} setupel-install
.endif
diff --git a/editors/semi-emacs-current/pkg-plist b/editors/semi-emacs-current/pkg-plist
index 723126a725d8..e82055c5f68c 100644
--- a/editors/semi-emacs-current/pkg-plist
+++ b/editors/semi-emacs-current/pkg-plist
@@ -31,3 +31,5 @@
@unexec install-info --delete %D/info/mime-ui-en.info %D/info/dir
info/mime-ui-en.info
@exec install-info %D/info/mime-ui-en.info %D/info/dir
+share/semi/%%SEMI_COOKIE%%
+@unexec /bin/rmdir %D/share/semi || true