1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Add `${DATADIR}/${EMACS_VER}/site-lisp' dir to pkg-plist. [1]

- Fix reinstall when workdir is not cleaned (ported from editors/emacs). [2]

PR:		ports/99755 [2]
Submitted by:	keramida (maintainer) [2]
Reported by:	linimon (pointyhat) [1]
This commit is contained in:
Andrey Slusar 2006-07-04 23:55:36 +00:00
parent 7e2a23110e
commit 880a12518e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166946
2 changed files with 22 additions and 1 deletions

View File

@ -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>

View File

@ -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