blob: 42d634bc2129d3a63f71ec26f7047fd3ddd0d623 (
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
57
58
59
60
61
62
63
|
# New ports collection makefile for: Jed text editor
# Date created: 22 APR 1997
# Whom: eric
#
# $FreeBSD$
#
PORTNAME= jed
PORTVERSION= 0.99.16
CATEGORIES= editors
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v${PORTVERSION:R}/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= s_bschmi@ira.uka.de
COMMENT= A SLang-based text editor
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
.if !defined(WITHOUT_X11)
USE_XLIB= yes
XJED= xjed
PLIST_SUB+= NOXJED=""
.else
PLIST_SUB+= NOXJED="@comment "
.endif
DIST_SUBDIR= jed
GNU_CONFIGURE= yes
CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed \
CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
ALL_TARGET= all getmail ${XJED}
MAN1= jed.1 rgrep.1
pre-install:
${LN} -sf ${WRKSRC}/autoconf/mkinsdir.sh ${WRKSRC}/
post-install:
${STRIP_CMD} ${PREFIX}/bin/jed
${STRIP_CMD} ${PREFIX}/bin/rgrep
${STRIP_CMD} ${PREFIX}/lib/jed/bin/getmail
.for f in ${XJED}
${STRIP_CMD} ${PREFIX}/bin/$f
.endfor
# ${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/lib/vms_shell.com ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/lib/README ${PREFIX}/lib/jed/lib
${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${PREFIX}/lib/jed/lib
-${RM} -f ${PREFIX}/lib/jed/info/*
-${RMDIR} ${PREFIX}/lib/jed/info
-${RM} -f ${PREFIX}/lib/jed/doc/txt/*
-${RMDIR} ${PREFIX}/lib/jed/doc/txt
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jed
${INSTALL_DATA} ${WRKSRC}/doc/txt/*.txt \
${PREFIX}/share/doc/jed
${INSTALL_DATA} ${WRKSRC}/info/jed.* ${PREFIX}/info
install-info --section="Miscellaneous" \
--entry="* JED: (jed). JED editor documentation." \
${PREFIX}/info/jed.info ${PREFIX}/info/dir
.endif
.include <bsd.port.mk>
|