openbsd-ports/editors/joe/Makefile

38 lines
874 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2001/10/28 13:05:46 espie Exp $
COMMENT= "joe's own editor"
1997-11-14 19:04:24 -05:00
DISTNAME= joe2.8
PKGNAME= joe-2.8p1
1997-11-14 19:04:24 -05:00
CATEGORIES= editors
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
MAKE_FLAGS= CFLAGS="${CFLAGS}" EXTRALIBS="-lcurses" TERMINFO="1" \
WHERERC="${SYSCONFDIR}/joe"
1997-11-14 19:04:24 -05:00
ALL_TARGET= joe
WRKDIST= ${WRKDIR}/joe
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/joe
${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
cd ${WRKSRC}; ${INSTALL_DATA} \
jmacsrc joerc jpicorc jstarrc rjoerc \
${PREFIX}/share/examples/joe
1997-11-14 19:04:24 -05:00
.include <bsd.port.mk>