blob: dbb48c4421dc5e8bc99fa1a02bb444b35373f719 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
# $FreeBSD$
PORTNAME= pure
PORTVERSION= 0.6
PORTREVISION= 7
CATEGORIES= irc elisp
#MASTER_SITES= http://gouketsu.net/irchat-pj/src/2.5/
MASTER_SITES= http://ftp.dti.ad.jp/pub/unix/net/irc/irchat-pj/2.5/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= pure-${PORTVERSION}p
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= ${PORTNAME}-${PORTVERSION}pl2.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Primitive Universal Relay-chat Environment
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2014-03-10
LICENSE= GPLv2 # (or later)
USE_BZIP2= yes
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
LISPDIR?= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
EMACS_ONLY?= ""
XEMACS_ONLY?= "@comment "
PUREBIN?= bin
MAKE_ARGS+= LISPDIR=${PREFIX}/${LISPDIR} \
PACKDIR=${PREFIX}/${EMACS_LIBDIR}/site-packages \
BINDIR=${PREFIX}/${PUREBIN}
PLIST_SUB= PURELISP=${LISPDIR} \
EMACS_ONLY=${EMACS_ONLY} \
XEMACS_ONLY=${XEMACS_ONLY} \
PUREBIN=${PUREBIN}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|CFLAGS=$$(CFLAGS)|| ; \
s|LDFLAGS=$$(LDFLAGS)||' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|^\(CFLAGS\)=|\1?=| ; \
s|^\(LDFLAGS\)=|\1?=| ; \
s|^\(CC\)=|\1?=|' ${WRKSRC}/c/Makefile
post-install:
.for i in dccget dccput puresv
@${STRIP_CMD} ${PREFIX}/bin/${i}
.endfor
.include <bsd.port.mk>
|