diff options
Diffstat (limited to 'editors/mule/Makefile')
-rw-r--r-- | editors/mule/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/editors/mule/Makefile b/editors/mule/Makefile index 859793b5d3fb..fc55ad422c70 100644 --- a/editors/mule/Makefile +++ b/editors/mule/Makefile @@ -3,7 +3,7 @@ # Date created: 6 July 1997 # Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.29 1997/06/08 12:54:52 asami Exp $ +# $Id: Makefile,v 1.30 1997/09/10 08:49:29 asami Exp $ # DISTNAME= mule-2.3 @@ -84,6 +84,15 @@ pre-build: find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; ${RM} -f ${WRKSRC}/etc/DOC* ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-19.28.* +# If site-start.el exists, you should run below when you install by +# this port +pre-install: + @if [ -f ${SITE_START} ]; then \ + ${MV} ${SITE_START} ${SITE_START}.orig ; \ + ${SED} -e '/;; BEGIN mule-family/,/;; END mule-family/d' \ + ${SITE_START}.orig > ${SITE_START}; \ + fi + post-install: # note that any2ps is a script .for file in b2m coco ctags emacsclient etags m2ps mule-19.28 @@ -112,4 +121,3 @@ post-package: @${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE} .include <bsd.port.mk> - |