42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $RuOBSD: Makefile,v 1.3 2002/04/10 05:14:52 form Exp $
|
|
# $OpenBSD: Makefile,v 1.31 2004/11/24 11:08:03 espie Exp $
|
|
|
|
COMMENT= "joe's own editor"
|
|
|
|
VERSION= 2.9.8
|
|
DISTNAME= joe-${VERSION}-pre1
|
|
PKGNAME= joe-${VERSION}pre1p1
|
|
EXTRACT_SUFX= .tgz
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=joe-editor/}
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c ncurses
|
|
|
|
MAINTAINER= Mike Pechkin <mpech@openbsd.org>
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/joe ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/termidx ${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}/share/doc/joe
|
|
${INSTALL_DATA} ${WRKDIST}/INFO ${PREFIX}/share/doc/joe
|
|
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/joe
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/joe
|
|
.for f in jmacsrc joerc jpicorc jstarrc rjoerc
|
|
${INSTALL_DATA} ${WRKDIST}/${f} \
|
|
${PREFIX}/share/examples/joe
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|