2000-03-24 17:11:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2000/03/24 22:11:40 espie Exp $
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
DISTNAME= joe2.8
|
|
|
|
PKGNAME= joe-2.8
|
|
|
|
CATEGORIES= editors
|
2000-03-24 17:11:32 -05:00
|
|
|
NEED_VERSION= 1.191
|
1998-10-08 19:06:21 -04:00
|
|
|
MASTER_SITES= ftp://ftp.std.com/src/editors/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1999-08-30 11:07:17 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
|
2000-02-12 03:02:07 -05:00
|
|
|
LICENSE_TYPE= GPL
|
2000-02-15 00:03:51 -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
|
|
|
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/joe
|
1997-11-14 19:04:24 -05:00
|
|
|
ALL_TARGET= joe
|
|
|
|
|
1999-08-30 11:07:17 -04:00
|
|
|
MAKE_ENV+= SYS_JOERC="/etc/joe" TERMINFO="1"
|
1998-12-21 22:58:12 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${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
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/joe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jmacsrc ${PREFIX}/lib/joe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/joerc ${PREFIX}/lib/joe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jpicorc ${PREFIX}/lib/joe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jstarrc ${PREFIX}/lib/joe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rjoerc ${PREFIX}/lib/joe
|
|
|
|
@if [ ! -d /etc/joe ]; then \
|
2000-02-10 20:09:59 -05:00
|
|
|
echo "***"; \
|
|
|
|
echo "*** Finished installing joe."; \
|
|
|
|
echo "*** Default configuration files stored in ${PREFIX}/lib/joe."; \
|
|
|
|
echo "*** If you wish to change joe configuration, copy these"; \
|
|
|
|
echo "*** files to /etc/joe and edit them."; \
|
1998-12-21 22:58:12 -05:00
|
|
|
fi
|
1998-10-15 01:10:54 -04:00
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
.include <bsd.port.mk>
|