freebsd-ports/editors/joe-devel/Makefile
Pete Fritchman e1999fb7b6 - update to 2.9.8p1
- fix a bug with config file handling

Submitted by:	"Sergey A. Osokin" <osa@freebsd.org.ru> (partially)
2001-12-24 02:09:54 +00:00

38 lines
813 B
Makefile

# New ports collection makefile for: joe-devel
# Date created: 25 Jul 2001
# Whom: dwcjr@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= joe-devel
PORTVERSION= 2.9.8p1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= joe-editor
DISTNAME= joe-${PORTVERSION:S/p/-pre/}
EXTRACT_SUFX= .tgz
MAINTAINER= petef@FreeBSD.org
MAN1= joe.1
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= joe
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/joe
${INSTALL_DATA} ${WRKSRC}/INFO ${WRKSRC}/README ${PREFIX}/share/doc/joe
${INSTALL_DATA} ${WRKSRC}/LIST ${PREFIX}/share/doc/joe/CommandList
.endif
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${file})
@${CP} ${PREFIX}/etc/${file}.dist ${PREFIX}/etc/${file}
.endif
.endfor
.include <bsd.port.mk>