summaryrefslogtreecommitdiffstats
path: root/editors/semi-emacs
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-10-16 06:01:41 +0000
committershige <shige@FreeBSD.org>1999-10-16 06:01:41 +0000
commit57c0bf1e237300b330bd056f2047a9e5f3906cae (patch)
tree319d0e3f70f36b855d4e5f4a6f301b23af1d113c /editors/semi-emacs
parent096258772f1807f05237931e7351c78bae478899 (diff)
downloadFreeBSD-ports-57c0bf1e237300b330bd056f2047a9e5f3906cae.zip
FreeBSD-ports-57c0bf1e237300b330bd056f2047a9e5f3906cae.tar.gz
Install semi-cookie for FreeBSD packages.
Diffstat (limited to 'editors/semi-emacs')
-rw-r--r--editors/semi-emacs/Makefile4
-rw-r--r--editors/semi-emacs/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/editors/semi-emacs/Makefile b/editors/semi-emacs/Makefile
index 4d89f3f..8f8a72f 100644
--- a/editors/semi-emacs/Makefile
+++ b/editors/semi-emacs/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 ${PREFX}/share/semi
+ @${TOUCH} ${PREFX}/share/semi/${SEMI_COOKIE}
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@${MAKE} setupel-install
.endif
diff --git a/editors/semi-emacs/pkg-plist b/editors/semi-emacs/pkg-plist
index 723126a..e82055c 100644
--- a/editors/semi-emacs/pkg-plist
+++ b/editors/semi-emacs/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
OpenPOWER on IntegriCloud