1997-06-04 06:32:23 +00:00
|
|
|
# New ports collection makefile for: Jed text editor
|
1998-05-17 22:56:19 +00:00
|
|
|
# Version required: 0.98-7
|
1997-06-04 06:32:23 +00:00
|
|
|
# Date created: 22 APR 1997
|
|
|
|
# Whom: eric
|
|
|
|
#
|
1998-05-17 22:56:19 +00:00
|
|
|
# $Id: Makefile,v 1.3 1998/04/01 01:50:02 asami Exp $
|
1997-06-04 06:32:23 +00:00
|
|
|
#
|
|
|
|
|
1998-05-17 22:56:19 +00:00
|
|
|
DISTNAME= jed0.98-7
|
|
|
|
PKGNAME= jed-0.98.7
|
1997-06-04 06:32:23 +00:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/
|
|
|
|
|
|
|
|
PATCH_SITES= ftp://space.mit.edu/pub/davis/jed/
|
|
|
|
PATCHFILES= BUGS
|
1998-05-17 22:56:19 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
1997-06-04 06:32:23 +00:00
|
|
|
|
|
|
|
MAINTAINER= eric@cybernut.com
|
|
|
|
|
1998-05-17 22:56:19 +00:00
|
|
|
LIB_DEPENDS= slang\\.1:${PORTSDIR}/devel/libslang
|
1997-06-04 06:32:23 +00:00
|
|
|
|
|
|
|
# comment out the next line if you don't want the X version of JED.
|
|
|
|
XJED= xjed
|
|
|
|
|
|
|
|
DIST_SUBDIR= jed
|
|
|
|
GNU_CONFIGURE= yes
|
1998-05-17 22:56:19 +00:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC}/src --quiet -E ${PATCH_DIST_STRIP}
|
1997-06-04 06:32:23 +00:00
|
|
|
CONFIGURE_ENV= JED_ROOT=${PREFIX}/lib/jed
|
|
|
|
ALL_TARGET= all getmail ${XJED}
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
WRKSRC= ${WRKDIR}/jed
|
|
|
|
MAN1= jed.1 rgrep.1
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
ln -sf ${WRKSRC}/autoconf/mkinsdir.sh ${WRKSRC}/
|
|
|
|
|
|
|
|
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 22:56:19 +00:00
|
|
|
${CP} -R ${WRKSRC}/lib/* ${PREFIX}/lib/jed/lib
|
1997-06-04 06:32:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/info/jed.* ${PREFIX}/info
|
1998-04-01 01:50:02 +00:00
|
|
|
-${RMDIR} ${PREFIX}/lib/jed/info
|
1997-06-04 06:32:23 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/jed
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${WRKSRC}/doc/*.txt \
|
|
|
|
${PREFIX}/share/doc/jed
|
|
|
|
if [ ! -f ${PREFIX}/info/dir ]; then \
|
1998-05-17 22:56:19 +00:00
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
1997-06-04 06:32:23 +00:00
|
|
|
fi
|
|
|
|
install-info --section="Miscellaneous" \
|
1997-06-08 12:55:04 +00:00
|
|
|
--entry="* JED: (jed). JED editor documentation." \
|
1997-06-04 06:32:23 +00:00
|
|
|
${PREFIX}/info/jed.info ${PREFIX}/info/dir
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|