aboutsummaryrefslogtreecommitdiffstats
path: root/editors/joe2/Makefile
blob: 4036229d9f691cb85282f263fbc94d2aa7d6b933 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    joe
# Date created:     01 Jul 1995
# Whom:         torstenb@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   joe
PORTVERSION=    2.9.8
CATEGORIES+=    editors
MASTER_SITES=   SF/joe-editor/JOE%20sources/joe-${PORTVERSION}

MAINTAINER?=    toasty@dragondata.com
COMMENT?=   Joe's Own Editor

RUN_DEPENDS=    ispell:${PORTSDIR}/textproc/ispell

LATEST_LINK?=   joe2
CONFLICTS=  joe-3*

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_ICONV=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -liconv"
CPPFLAGS+=  -I${LOCALBASE}/include

ALL_TARGET= ${PORTNAME}
MAN1=       ${PORTNAME}.1

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.cvs ${WRKSRC}/ChangeLog\
         ${WRKSRC}/INFO ${WRKSRC}/NEWS ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/LIST ${DOCSDIR}/CommandList
.endif

.include <bsd.port.mk>