1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/editors/joe/Makefile
Martin Wilke 9b72391194 - Update to 3.5
PR:		ports/101076
Submitted by:	chinsan <chinsan.tw(at)gmail.com>
Approved by:	krion (mentor), maintainer timeout
2006-08-16 06:29:33 +00:00

46 lines
1010 B
Makefile

# New ports collection makefile for: joe
# Date created: 01 Jul 1995
# Whom: torstenb@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= joe
PORTVERSION= 3.5
PORTEPOCH= 1
CATEGORIES+= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}-editor
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER?= toasty@dragondata.com
COMMENT= Joe's Own Editor
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
CONFLICTS= joe-2.*
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= 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
MANLANG= "" ru
.include <bsd.port.pre.mk>
post-install:
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${PORTNAME}/${file})
@${CP} ${PREFIX}/etc/${PORTNAME}/${file} ${PREFIX}/etc/${PORTNAME}/${file}.dist
.endif
.endfor
.include <bsd.port.post.mk>