diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2006-07-04 23:55:36 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2006-07-04 23:55:36 +0000 |
commit | 880a12518e7cff1e486b630cc8c7a73f1a533b9f (patch) | |
tree | a3ded36fd0c1e883e94bc23c8468f9efdf34fc08 /editors/emacs-devel | |
parent | 7e2a23110eeaca676f93b47f921311dc30ccbbb8 (diff) | |
download | ports-880a12518e7cff1e486b630cc8c7a73f1a533b9f.tar.gz ports-880a12518e7cff1e486b630cc8c7a73f1a533b9f.zip |
Notes
Diffstat (limited to 'editors/emacs-devel')
-rw-r--r-- | editors/emacs-devel/Makefile | 22 | ||||
-rw-r--r-- | editors/emacs-devel/pkg-plist | 1 |
2 files changed, 22 insertions, 1 deletions
diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index a15460adabdc..dde8a16f8833 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= emacs PORTVERSION= ${EMACS_VER}.${SNAPSHOT} +PORTREVISION= 1 CATEGORIES= editors ipv6 MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= keramida @@ -74,7 +75,26 @@ LATEST_LINK= emacs22 EXTRA_PATCHES+= ${FILESDIR}/extrapatch-texinfo .endif +pre-everything:: +.if !defined(WITHOUT_X11) && !defined(WITHOUT_GTK) + @${ECHO_MSG} "====>" + @${ECHO_MSG} "====> To disable GTK+ interface support, define WITHOUT_X11 or WITHOUT_GTK" + @${ECHO_MSG} "====>" +.endif +.if !defined(WITHOUT_X11) && !defined(WITHOUT_XIM) + @${ECHO_MSG} "====>" + @${ECHO_MSG} "====> To disable X11 Input Method support, define WITHOUT_XIM" + @${ECHO_MSG} "====>" +.endif + pre-build: - (cd ${WRKSRC} ; make bootstrap) + (cd ${WRKSRC} ; ${MAKE} bootstrap) + +post-build: + (cd ${WRKSRC}/lisp ; \ + ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} recompile ; \ + ${RM} ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}.[0-9]* ; \ + cd ${WRKSRC}/src ; \ + ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) .include <bsd.port.post.mk> diff --git a/editors/emacs-devel/pkg-plist b/editors/emacs-devel/pkg-plist index 859123b24429..a82a475fa0fc 100644 --- a/editors/emacs-devel/pkg-plist +++ b/editors/emacs-devel/pkg-plist @@ -2640,6 +2640,7 @@ var/games/emacs/tetris-scores @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp/url @dirrm %%DATADIR%%/%%EMACS_VER%%/lisp @dirrmtry %%DATADIR%%/site-lisp +@dirrmtry %%DATADIR%%/%%EMACS_VER%%/site-lisp @dirrmtry %%DATADIR%%/%%EMACS_VER%% @dirrmtry %%DATADIR%% @dirrmtry var/games/emacs |