aboutsummaryrefslogtreecommitdiffstats
path: root/editors/joe2/Makefile
blob: 467116d3191c5ad3f09a492f4b35c6fe31e2fb9b (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
39
40
# 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=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}-editor

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_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -liconv"

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>