freebsd-ports/editors/joe/Makefile

44 lines
992 B
Makefile
Raw Normal View History

1995-07-05 17:08:51 +02:00
# New ports collection makefile for: joe
# Date created: 01 Jul 1995
# Whom: torstenb@FreeBSD.org
1995-07-05 17:08:51 +02:00
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
1995-07-05 17:08:51 +02:00
#
2000-04-14 02:25:54 +02:00
PORTNAME= joe
PORTVERSION= 3.3
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
.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>