summaryrefslogtreecommitdiff
path: root/editors/cooledit/Makefile
blob: 3b36b979a6a9b3874565e0ff16ae0c9707c1133e (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
# New ports collection makefile for:	 cooledit
# Version required:	3.11.3
# Date created:		18 November 1997
# Whom:			brett@peloton.physics.montana.edu
#
# $Id: Makefile,v 1.15 1999/06/19 06:01:50 cpiazza Exp $
#

DISTNAME=	cooledit-3.11.3
CATEGORIES=	editors
MASTER_SITES= 	${MASTER_SITE_SUNSITE} \
		http://www.netins.net/showcase/Comput-IT/cooledit/src/
MASTER_SITE_SUBDIR=	apps/editors/X

MAINTAINER=	brett@peloton.physics.montana.edu

BUILD_DEPENDS=	gettext:${PORTSDIR}/devel/gettext
LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm

USE_LIBTOOL=	yes
CONFIGURE_ARGS=	--disable-mail-author --with-libs='-lcrypt -lreadline'

USE_GMAKE= 	yes

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

pre-install:
	@${ECHO_MSG} "Installing in ${PREFIX}/bin"
	@if [ ! -f ${PREFIX}/etc/coolicon.config ]; then \
		${INSTALL_SCRIPT} ${WRKSRC}/pixmap/coolicon.config \
		    ${PREFIX}/etc ; \
	fi
	${INSTALL_SCRIPT} ${WRKSRC}/pixmap/coolicon.config \
		${PREFIX}/etc/coolicon.config.dist

.include <bsd.port.mk>