1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/editors/cooledit/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: cooledit
# Date created: 18 November 1997
# Whom: brett@peloton.physics.montana.edu
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
2000-04-14 00:25:54 +00:00
PORTNAME= cooledit
PORTVERSION= 3.15.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.runet.edu
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
intl.1:${PORTSDIR}/devel/gettext
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_XLIB= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --disable-mail-author --with-libs='-lcrypt -lreadline' \
--without-included-gettext
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
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
post-install:
@${LN} -sf ${PREFIX}/share/cooledit/global.py \
${PREFIX}/share/coolicon/global.py
.include <bsd.port.mk>