mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
a1a0f2e48a
- Use USE_LDCONFIG instead INSTALLS_SHLIB PR: ports/101511 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
46 lines
1016 B
Makefile
46 lines
1016 B
Makefile
# New ports collection makefile for: cooledit
|
|
# Date created: 18 November 1997
|
|
# Whom: brett@peloton.physics.montana.edu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cooledit
|
|
PORTVERSION= 3.17.17
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= apps/editors/X/cooledit
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Suite of utilities, including a GUI editor
|
|
|
|
USE_XLIB= yes
|
|
USE_PYTHON= yes
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= cooledit.1 coolman.1 smalledit.1
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
CFLAGS+= -DHAVE_MBRTOWC
|
|
.endif
|
|
|
|
.if defined(WITH_NEXT_LOOK)
|
|
CONFIGURE_ARGS+= --enable-NeXT-look
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.post.mk>
|