summaryrefslogtreecommitdiff
path: root/print/auctex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/auctex/Makefile')
-rw-r--r--print/auctex/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/print/auctex/Makefile b/print/auctex/Makefile
index 62a79b9049d..fbe6af54ba8 100644
--- a/print/auctex/Makefile
+++ b/print/auctex/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2005/06/27 10:03:54 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2005/08/28 04:25:30 uebayasi Exp $
DISTNAME= auctex-11.55
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= print
MASTER_SITES= http://ftp.gnu.org/pub/gnu/auctex/
@@ -8,6 +9,8 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.nongnu.org/auctex/
COMMENT= Enhanced LaTeX mode for Emacs
+.include "../../mk/emacs.mk"
+
USE_TOOLS+= gmake
USE_PKGINSTALL= yes
GNU_CONFIGURE= YES
@@ -15,6 +18,10 @@ GNU_CONFIGURE= YES
TEX_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= TEX_PREFIX=teTeX
+.if ${EMACS_FLAVOR} == "xemacs"
+CONFIGURE_ARGS+= --with-packagedir=${EMACS_LISPPREFIX:C|/lisp||}
+.endif
+
MAKEFLAGS+= EMACS=${EMACS_BIN}
LISPDIR= ${EMACS_LISPPREFIX}
@@ -23,5 +30,4 @@ INFO_FILES= auctex.info
PLIST_SUBST+= INFODIR=${INFODIR}
MESSAGE_SUBST+= LISPDIR=${LISPDIR}
-.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"