1997-06-04 02:32:23 -04:00
|
|
|
# New ports collection makefile for: Jed text editor
|
|
|
|
# Date created: 22 APR 1997
|
|
|
|
# Whom: eric
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1997-06-04 02:32:23 -04:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:25:54 -04:00
|
|
|
PORTNAME= jed
|
|
|
|
PORTVERSION= 0.98.7
|
1997-06-04 02:32:23 -04:00
|
|
|
CATEGORIES= editors
|
2000-04-13 20:25:54 -04:00
|
|
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v0.98/
|
|
|
|
DISTNAME= ${PORTNAME}0.98-7
|
1997-06-04 02:32:23 -04:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
PATCH_SITES= ftp://space.mit.edu/pub/davis/jed/v0.98/
|
|
|
|
PATCHFILES= BUGS
|
1998-05-17 18:56:19 -04:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1997-06-04 02:32:23 -04:00
|
|
|
|
2001-01-16 12:33:20 -05:00
|
|
|
MAINTAINER= eric@cybernut.com
|
1997-06-04 02:32:23 -04:00
|
|
|
|
1998-09-25 06:18:41 -04:00
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
|
1997-06-04 02:32:23 -04:00
|
|
|
|
1998-11-29 07:43:13 -05:00
|
|
|
USE_XLIB= yes
|
|
|
|
|
2000-04-29 20:17:29 -04:00
|
|
|
.if !defined(NO_XJED)
|
1997-06-04 02:32:23 -04:00
|
|
|
XJED= xjed
|
2000-04-29 20:17:29 -04:00
|
|
|
.endif
|
1997-06-04 02:32:23 -04:00
|
|
|
|
|
|
|
DIST_SUBDIR= jed
|
2001-01-16 12:33:20 -05:00
|
|
|
GNU_CONFIGURE= yes
|
1998-05-17 18:56:19 -04:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC}/src --quiet -E ${PATCH_DIST_STRIP}
|
1997-06-04 02:32:23 -04:00
|
|
|
CONFIGURE_ENV= JED_ROOT=${PREFIX}/lib/jed
|
2001-01-16 12:33:20 -05:00
|
|
|
ALL_TARGET= all getmail ${XJED}
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
WRKSRC= ${WRKDIR}/jed
|
1997-06-04 02:32:23 -04:00
|
|
|
MAN1= jed.1 rgrep.1
|
|
|
|
|
|
|
|
pre-install:
|
1999-08-27 21:58:05 -04:00
|
|
|
${LN} -sf ${WRKSRC}/autoconf/mkinsdir.sh ${WRKSRC}/
|
1997-06-04 02:32:23 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/jed
|
|
|
|
strip ${PREFIX}/bin/rgrep
|
|
|
|
strip ${PREFIX}/lib/jed/bin/getmail
|
|
|
|
.if defined(XJED)
|
|
|
|
strip ${PREFIX}/bin/xjed
|
|
|
|
.endif
|
1998-05-17 18:56:19 -04:00
|
|
|
${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
|
1997-06-04 02:32:23 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/info/jed.* ${PREFIX}/info
|
1998-03-31 20:50:02 -05:00
|
|
|
-${RMDIR} ${PREFIX}/lib/jed/info
|
1997-06-04 02:32:23 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/jed
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${WRKSRC}/doc/*.txt \
|
|
|
|
${PREFIX}/share/doc/jed
|
|
|
|
install-info --section="Miscellaneous" \
|
1997-06-08 08:55:04 -04:00
|
|
|
--entry="* JED: (jed). JED editor documentation." \
|
1997-06-04 02:32:23 -04:00
|
|
|
${PREFIX}/info/jed.info ${PREFIX}/info/dir
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|