1998-12-21 22:58:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 1998/12/22 03:58:12 form Exp $
|
1997-11-17 14:04:05 -05:00
|
|
|
#
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
DISTNAME= joe2.8
|
|
|
|
PKGNAME= joe-2.8
|
|
|
|
CATEGORIES= editors
|
|
|
|
|
1998-10-20 04:39:43 -04:00
|
|
|
MAINTAINER= form@OpenBSD.ORG
|
1998-02-06 03:40:15 -05:00
|
|
|
|
1998-10-08 19:06:21 -04:00
|
|
|
MASTER_SITES= ftp://ftp.std.com/src/editors/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
WRKSRC= ${WRKDIR}/joe
|
|
|
|
ALL_TARGET= joe
|
|
|
|
MAN1= joe.1
|
|
|
|
|
1998-12-21 22:58:12 -05:00
|
|
|
MAKE_ENV+= SYS_JOERC=/etc/joe TERMINFO=1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/joe ${PREFIX}/bin
|
|
|
|
cd ${PREFIX}/bin; \
|
|
|
|
${LN} -sf joe jmacs; \
|
|
|
|
${LN} -sf joe jpico; \
|
|
|
|
${LN} -sf joe jstar; \
|
|
|
|
${LN} -sf joe rjoe
|
|
|
|
${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 \
|
|
|
|
${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."; \
|
|
|
|
fi
|
1998-10-15 01:10:54 -04:00
|
|
|
|
1997-11-14 19:04:24 -05:00
|
|
|
.include <bsd.port.mk>
|