openbsd-ports/editors/joe/Makefile
brad 4456905e4f drop suid/sgid bits on backup files.
--
Patch based on CVS change.
2002-09-26 23:00:08 +00:00

41 lines
1.1 KiB
Makefile

# $RuOBSD: Makefile,v 1.3 2002/04/10 05:14:52 form Exp $
# $OpenBSD: Makefile,v 1.30 2002/09/26 23:00:08 brad 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
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>