aboutsummaryrefslogtreecommitdiff
path: root/editors/semi113-emacs
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-10-16 06:01:41 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-10-16 06:01:41 +0000
commitd0bf54a762afd90d8bd8ff655d9f240c15f75e3a (patch)
treedeb7f2537705db8b738dab86142bd5fd5f19a096 /editors/semi113-emacs
parent4e3902ec921e2e7c10f88b6cfd1d2d9580490e9b (diff)
downloadports-d0bf54a762afd90d8bd8ff655d9f240c15f75e3a.tar.gz
ports-d0bf54a762afd90d8bd8ff655d9f240c15f75e3a.zip
Notes
Diffstat (limited to 'editors/semi113-emacs')
-rw-r--r--editors/semi113-emacs/Makefile4
-rw-r--r--editors/semi113-emacs/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/editors/semi113-emacs/Makefile b/editors/semi113-emacs/Makefile
index 0d63c3c3bc19..219e60b81a55 100644
--- a/editors/semi113-emacs/Makefile
+++ b/editors/semi113-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 ${PREFIX}/share/semi
+ @${TOUCH} ${PREFIX}/share/semi/${SEMI_COOKIE}
.if defined(REQUIRE_SETUPEL) && (${REQUIRE_SETUPEL} == "YES")
@${MAKE} setupel-install
.endif
diff --git a/editors/semi113-emacs/pkg-plist b/editors/semi113-emacs/pkg-plist
index 723126a725d8..e82055c5f68c 100644
--- a/editors/semi113-emacs/pkg-plist
+++ b/editors/semi113-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