summaryrefslogtreecommitdiff
path: root/editors/cooledit/Makefile
blob: 5522d893c358164c1293e2dc9cd48c137931cf85 (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
41
42
43
# New ports collection makefile for:	 cooledit
# Date created:		18 November 1997
# Whom:			brett@peloton.physics.montana.edu
#
# $FreeBSD$
#

PORTNAME=	cooledit
PORTVERSION=	3.17.7
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	http://cooledit.sourceforge.net/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Suite of utilities, including a GUI editor

LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext-old \
		vga.1:${PORTSDIR}/graphics/svgalib

USE_XPM=	yes
USE_PYTHON=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS=	--with-libs='-lcrypt -lreadline -lvga -lintl' \
		--disable-mail-author
INSTALLS_SHLIB=	yes

MAN1=		cooledit.1 coolicon.1 coolman.1 smalledit.1

post-install:
	${INSTALL_DATA} ${WRKSRC}/pixmap/coolicon.config \
		${PREFIX}/etc/coolicon.config.dist
.if !exists(${PREFIX}/etc/coolicon.config)
	${INSTALL_DATA} ${WRKSRC}/pixmap/coolicon.config \
		${PREFIX}/etc/coolicon.config
.endif
	@${LN} -sf ${PREFIX}/share/cooledit/global.py \
		${PREFIX}/share/coolicon/global.py

.include <bsd.port.mk>