openbsd-ports/editors/joe/Makefile
espie a813079932 Kill a large set of deprecated variables.
Thoroughly unsubtle, most mkdir -p should probably be INSTALL* at
*install stage, and echo/ECHO_MSG is somewhat unsorted.

It's quite possible I missed a few automated changes...
2000-02-11 01:09:59 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2000/02/11 01:10:01 espie Exp $
DISTNAME= joe2.8
PKGNAME= joe-2.8
CATEGORIES= editors
MASTER_SITES= ftp://ftp.std.com/src/editors/
EXTRACT_SUFX= .tar.Z
NEED_VERSION= 1.191
MAINTAINER= ports@openbsd.org
WRKDIST= ${WRKDIR}/joe
ALL_TARGET= joe
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
.include <bsd.port.mk>