1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Apply XIM patch(PORTREVISION bump).

Add post-install target for printing pkg-message.
This commit is contained in:
Shigeyuki Fukushima 2001-05-09 16:18:26 +00:00
parent 4ccad02c15
commit 05011ebda4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42459
3 changed files with 21 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# New ports collection makefile for: GNU emacs with dl
# New ports collection makefile for: GNU emacs with dynamic loading function
# Date created: 10 October 1998
# Whom: shige
#
@ -6,11 +6,15 @@
#
PORTNAME= emacs-dl
PORTVERSION= 20.7
PORTVERSION= ${EMACS_VER}
PORTREVISION= 1
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITES= ${MASTER_SITE_GNU} \
http://www.ainet.or.jp/~inoue/software/emacs-xim/
MASTER_SITE_SUBDIR= emacs
DISTNAME= emacs-${PORTVERSION}
DISTNAME= emacs-${EMACS_VER}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${XIM_PATCH}${EXTRACT_SUFX}
PATCH_SITES= ftp://ftp.m17n.org/pub/mule/dynamic-loading/ \
http://www.etl.go.jp/~tomo/comp/emacsen/
@ -35,6 +39,8 @@ USE_XLIB= yes
CONFIGURE_ARGS= --with-x=no --with-pop
.endif
# for XIM extension
XIM_PATCH= emacs20-xim-20000713
.if defined(WITHOUT_XIM) && (${WITHOUT_XIM} == "yes")
MAKE_FLAGS= MYCPPFLAG="-DX_I18N_INHIBITED"
.endif
@ -56,6 +62,11 @@ CONFIGURE_ARGS+= --with-xpg4
.endif
.endif
pre-patch:
@(cd ${WRKSRC} ; \
${PATCH} ${PATCH_ARGS} -p1 < ../${XIM_PATCH}/${XIM_PATCH}.diff ;\
)
pre-build:
@${RM} -rf ${WRKSRC}/info/*
@${LN} -sf DOC ${WRKSRC}/etc/${DOC_FILE}
@ -64,4 +75,7 @@ do-install:
@${INSTALL} -c -s -m 555 -o root -g wheel ${WRKSRC}/src/emacs ${PREFIX}/bin/emacs-dl-${EMACS_VER}
@${INSTALL_DATA} ${WRKSRC}/etc/DOC ${PREFIX}/share/emacs/${EMACS_VER}/etc/${DOC_FILE}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,2 +1,3 @@
MD5 (emacs-20.7.tar.gz) = c732cf5e668d4ac67d9418ecb103ecf5
MD5 (emacs20-xim-20000713.tar.gz) = 3fec03adb19038afe25345b12962ec0f
MD5 (emacs-20.4-dl3.diff.gz) = c7d5891607236066cd1a7f187d6100bc

View File

@ -2,6 +2,7 @@ GNU Emacs is a self-documenting, customizable, extensible real-time
display editor (emacs binary only).
This package's emacs has a dynamic loading module function.
And XIM function which emacs already has is fixed.
Emacs binary is:
${PREFIX}/bin/emacs-dl-20.7
@ -20,4 +21,4 @@ at the "${PORTSDIR}/editors/emacs20-dl" directory to re-make this package.
WWW: http://www.m17n.org/mule/dynamic-loading/
--- Porting by shige@FreeBSD.ORG
--- Ported by shige@FreeBSD.ORG