freebsd-ports/editors/cooledit/Makefile
Ade Lovett f18cbf2fa6 gettext upgrade uber-patch (stage 3)
- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
  with a "-old" suffix -- gettext-old will have its deorbit burn
  sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order

Reviewed by:	portmgr
2002-04-12 17:10:20 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: cooledit
# Date created: 18 November 1997
# Whom: brett@peloton.physics.montana.edu
#
# $FreeBSD$
#
PORTNAME= cooledit
PORTVERSION= 3.17.5
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.netins.net/showcase/Comput-IT/cooledit/src/
MASTER_SITE_SUBDIR= apps/editors/X/cooledit
MAINTAINER= brett@peloton.runet.edu
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext \
vga.1:${PORTSDIR}/graphics/svgalib
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_XLIB= yes
USE_XPM= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-libs='-lcrypt -lreadline -lvga' \
--disable-mail-author --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>