diff options
Diffstat (limited to 'editors/tamago/Makefile')
-rw-r--r-- | editors/tamago/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/tamago/Makefile b/editors/tamago/Makefile index dfb0226..e96df41 100644 --- a/editors/tamago/Makefile +++ b/editors/tamago/Makefile @@ -19,11 +19,13 @@ RUN_DEPENDS= emacs-${EMACS_VER}:${PORTSDIR}/editors/emacs20 USE_GMAKE= yes GNU_CONFIGURE= yes -EMACS_VER= 20.7 -PLIST_SUB= EMACS_VER=${EMACS_VER} +EMACS_PORT_NAME?= emacs20 + +ELISPDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp +PLIST_SUB= ELISPDIR="${EMACS_LIBDIR_WITH_VER}/site-lisp" pre-configure: - @${PERL} -pi -e 's|emacs/site-lisp|emacs/${EMACS_VER}/site-lisp|g' \ + @${PERL} -pi -e 's|emacs/site-lisp|${EMACS_NAME}/${EMACS_VER}/site-lisp|g' \ ${WRKSRC}/configure .include <bsd.port.mk> |