freebsd-ports/editors/joe-devel/Makefile
Pav Lucistnik 5d2e92a312 - Update to 3.2
PR:		ports/80692
Submitted by:	chinsan <chinsan@mail2000.com.tw>
Approved by:	maintainer timeout (2 months)
2005-07-08 14:21:14 +00:00

44 lines
1,010 B
Makefile

# New ports collection makefile for: joe-devel
# Date created: 25 Jul 2001
# Whom: dwcjr@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= joe
PORTVERSION= 3.2
PORTEPOCH= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}-editor
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= petef@FreeBSD.org
COMMENT= Development version of Joe's Own Editor
CONFLICTS= joe-2.*
LATEST_LINK= joe-devel
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
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>