2001-10-28 08:05:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2001/10/28 13:05:46 espie Exp $
|
2001-05-05 20:28:54 -04:00
|
|
|
|
|
|
|
COMMENT= "joe's own editor"
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
DISTNAME= joe2.8
|
2001-01-17 11:38:59 -05:00
|
|
|
PKGNAME= joe-2.8p1
|
1997-11-14 19:04:24 -05:00
|
|
|
CATEGORIES= editors
|
2001-05-05 20:28:54 -04:00
|
|
|
NEED_VERSION= 1.402
|
1998-10-08 19:06:21 -04:00
|
|
|
MASTER_SITES= ftp://ftp.std.com/src/editors/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2000-03-25 10:39:54 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2001-02-28 13:46:32 -05:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}" EXTRALIBS="-lcurses" TERMINFO="1" \
|
2001-01-17 13:34:01 -05:00
|
|
|
WHERERC="${SYSCONFDIR}/joe"
|
2001-01-17 11:38:59 -05:00
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
ALL_TARGET= joe
|
|
|
|
|
2001-01-17 11:38:59 -05:00
|
|
|
WRKDIST= ${WRKDIR}/joe
|
1998-12-21 22:58:12 -05:00
|
|
|
|
|
|
|
do-install:
|
2001-01-17 13:34:01 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/joe
|
1998-12-21 22:58:12 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/joe ${PREFIX}/bin
|
1999-08-30 11:07:17 -04:00
|
|
|
@cd ${PREFIX}/bin; \
|
2000-02-10 20:09:59 -05:00
|
|
|
ln -sf joe jmacs; \
|
|
|
|
ln -sf joe jpico; \
|
|
|
|
ln -sf joe jstar; \
|
|
|
|
ln -sf joe rjoe
|
1998-12-21 22:58:12 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/joe.1 ${PREFIX}/man/man1
|
2001-01-17 13:34:01 -05:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} \
|
|
|
|
jmacsrc joerc jpicorc jstarrc rjoerc \
|
|
|
|
${PREFIX}/share/examples/joe
|
1998-10-15 01:10:54 -04:00
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
.include <bsd.port.mk>
|