aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irchat-pj-emacs20/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-10-17 21:11:27 +0800
committerijliao <ijliao@FreeBSD.org>2001-10-17 21:11:27 +0800
commit4379e3b3b6ddfc8d780e8ff3a3be3050c294fcc9 (patch)
tree7ba0c2ee6fc61eea2c1bae1696d09b7e0bff9174 /irc/irchat-pj-emacs20/Makefile
parent2b17dd473dad917a4738a13184b440933f9444c2 (diff)
downloadfreebsd-ports-gnome-4379e3b3b6ddfc8d780e8ff3a3be3050c294fcc9.tar.gz
freebsd-ports-gnome-4379e3b3b6ddfc8d780e8ff3a3be3050c294fcc9.tar.zst
freebsd-ports-gnome-4379e3b3b6ddfc8d780e8ff3a3be3050c294fcc9.zip
upgrade irchat -> 2.5.6, pure -> 0.6
PR: 30891 Submitted by: MAINTAINER
Diffstat (limited to 'irc/irchat-pj-emacs20/Makefile')
-rw-r--r--irc/irchat-pj-emacs20/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/irc/irchat-pj-emacs20/Makefile b/irc/irchat-pj-emacs20/Makefile
index e49beba5ce49..e659c319d36a 100644
--- a/irc/irchat-pj-emacs20/Makefile
+++ b/irc/irchat-pj-emacs20/Makefile
@@ -6,12 +6,17 @@
#
PORTNAME= irchat-pj
-PORTVERSION= 2.5.5
+PORTVERSION= 2.5.6
CATEGORIES= irc elisp
-MASTER_SITES= ftp://ftp.fan.gr.jp/pub/elisp/irchat-pj/2.5/
+MASTER_SITES= ftp://ftp.fan.gr.jp/pub/elisp/irchat-pj/2.5/%SUBDIR%/
+MASTER_SITE_SUBDIR= . OLD
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= irchat-pj-${PORTVERSION}p
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= irchat-pj-2.5.6pl1.diff.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
BUILD_DEPENDS= ${LOCALBASE}/${LISPDIR:S,/${PORTNAME}$,/pure,}/pure-make.el:${PORTSDIR}/irc/pure-${EMACS_PORT_NAME}
@@ -19,12 +24,12 @@ RUN_DEPENDS= ${LOCALBASE}/${LISPDIR:S,/${PORTNAME}$,/pure,}/pure-make.el:${PORTS
${LOCALBASE}/bin/dcc:${PORTSDIR}/irc/dcc
EMACS_PORT_NAME?= emacs20
+XEMACS_ONLY?= "@comment "
LISPDIR?= ${EMACS_LIBDIR}/site-lisp/${PORTNAME}
ETCDIR= share/doc/${PORTNAME}
-LDFLAGS= ${PTHREAD_LIBS}
-CFLAGS+= ${PTHREAD_CFLAGS} -DUSE_PTHREAD -DENABLE_PTHREAD_ATTR
-MAKE_ENV+= LDFLAGS="${LDFLAGS}"
+MAKE_ENV+= LISPDIR=${PREFIX}/${EMACS_SITE_LISPDIR} \
+ PACKDIR=${PREFIX}/${EMACS_LIBDIR}/site-packages
DOCS= README.25 doc24/CHANGELOG doc24/FAQ-about-jp24.txt\
doc24/FAQ-irchat-PJ.txt doc24/INSTALL.irchat-pj\
@@ -32,7 +37,8 @@ DOCS= README.25 doc24/CHANGELOG doc24/FAQ-about-jp24.txt\
doc24/browse-url-plus-init.el doc24/dot.irchat_vars.el
PLIST_SUB= LISPDIR=${LISPDIR} \
- ETCDIR=${ETCDIR}
+ ETCDIR=${ETCDIR} \
+ XEMACS_ONLY=${XEMACS_ONLY}
post-install:
.if !defined(NOPORTDOCS)
@@ -41,8 +47,5 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/${ETCDIR}
.endfor
.endif
-.if (${EMACS_PORT_NAME} == "xemacs21-mule")
- ${RMDIR} ${PREFIX}/${EMACS_LIBDIR}/site-packages/etc/irchat-pj
-.endif
.include <bsd.port.mk>