View | Details | Raw Unified | Return to bug 68250
Collapse All | Expand All

(-)auctex/Makefile (-2 / +3 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=		auctex
8
PORTNAME=		auctex
9
PORTVERSION=		11.14
9
PORTVERSION=		11.14
10
PORTREVISION=		1
10
CATEGORIES=		print elisp
11
CATEGORIES=		print elisp
11
MASTER_SITES=		${MASTER_SITE_GNU}
12
MASTER_SITES=		${MASTER_SITE_GNU}
12
MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTVERSION}
13
MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTVERSION}
Lines 15-22 Link Here
15
COMMENT=	Integrated environment for writing LaTeX using GNU Emacs
16
COMMENT=	Integrated environment for writing LaTeX using GNU Emacs
16
17
17
EMACS_PORT_NAME?=	emacs21
18
EMACS_PORT_NAME?=	emacs21
18
EMACS_NO_RUN_DEPENDS=	yes
19
LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}
19
LISPDIR=	${EMACS_SITE_LISPDIR}
20
ALL_TARGET=	all contrib
20
ALL_TARGET=	all contrib
21
INSTALL_TARGET=	install install-contrib install-info
21
INSTALL_TARGET=	install install-contrib install-info
22
MAKE_ARGS+=	lispdir=${PREFIX}/${LISPDIR}
22
MAKE_ARGS+=	lispdir=${PREFIX}/${LISPDIR}
Lines 25-30 Link Here
25
INFO=		auctex
25
INFO=		auctex
26
26
27
post-patch:
27
post-patch:
28
	${REINPLACE_CMD} -e 's?%%LISPDIR%%?${LISPDIR}?g' ${WRKSRC}/Makefile
28
	${REINPLACE_CMD} -e 's?%%PREFIX%%?${PREFIX}?g' ${WRKSRC}/tex.el
29
	${REINPLACE_CMD} -e 's?%%PREFIX%%?${PREFIX}?g' ${WRKSRC}/tex.el
29
30
30
post-install:
31
post-install:
(-)auctex/files/patch-aa (-8 / +13 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	Thu Jan 24 18:55:33 2002
1
--- Makefile.orig	Sun Dec 15 11:15:42 2002
2
+++ Makefile	Mon Apr  8 04:08:24 2002
2
+++ Makefile	Thu Jun 24 02:16:22 2004
3
@@ -10,7 +10,7 @@
3
@@ -10,19 +10,19 @@
4
 ##----------------------------------------------------------------------
4
 ##----------------------------------------------------------------------
5
 
5
 
6
 # Where local software is found
6
 # Where local software is found
Lines 9-15 Link Here
9
 
9
 
10
 # Where info files go.
10
 # Where info files go.
11
 infodir = $(prefix)/info
11
 infodir = $(prefix)/info
12
@@ -22,7 +22,7 @@
12
 
13
 # Where local lisp files go.
14
-lispdir = $(prefix)/share/emacs/site-lisp
15
+lispdir = $(prefix)/%%LISPDIR%%
16
 
17
 # Where the AUC TeX emacs lisp files go.
13
 aucdir=$(lispdir)/auctex
18
 aucdir=$(lispdir)/auctex
14
 
19
 
15
 # Name of your emacs binary
20
 # Name of your emacs binary
Lines 35-41 Link Here
35
 
40
 
36
 ##----------------------------------------------------------------------
41
 ##----------------------------------------------------------------------
37
 ##  BELOW THIS LINE ON YOUR OWN RISK!
42
 ##  BELOW THIS LINE ON YOUR OWN RISK!
38
@@ -120,7 +123,7 @@
43
@@ -121,7 +124,7 @@
39
 # 	$(ELC) hilit-LaTeX.el         # Doesn't compile without X
44
 # 	$(ELC) hilit-LaTeX.el         # Doesn't compile without X
40
 
45
 
41
 install-lisp:	some
46
 install-lisp:	some
Lines 44-50 Link Here
44
 	if [ -f $(lispdir)/tex-site.el ]; \
49
 	if [ -f $(lispdir)/tex-site.el ]; \
45
 	then \
50
 	then \
46
 	    echo "Leaving old tex-site.el alone."; \
51
 	    echo "Leaving old tex-site.el alone."; \
47
@@ -128,17 +131,17 @@
52
@@ -129,17 +132,17 @@
48
 	    sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \
53
 	    sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \
49
 	    > $(lispdir)/tex-site.el ; \
54
 	    > $(lispdir)/tex-site.el ; \
50
         fi
55
         fi
Lines 65-72 Link Here
65
 	                                else true; fi ; \
70
 	                                else true; fi ; \
66
 	    touch $(aucdir)/auto/.nosearch ; \
71
 	    touch $(aucdir)/auto/.nosearch ; \
67
 	else \
72
 	else \
68
@@ -198,9 +201,9 @@
73
@@ -192,9 +195,9 @@
69
 	-(cd style; auc add `echo $(STYLESRC) | sed -e s@style/@@g` )
74
 	    < tex.el.orig > tex.el
70
 	cvs commit -m 'Release_$(TAG)'
75
 	cvs commit -m 'Release_$(TAG)'
71
 	cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'`
76
 	cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'`
72
-	mkdir auctex-$(TAG) 
77
-	mkdir auctex-$(TAG) 

Return to bug 68250