Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/editors/cooledit/Makefile
16149 views
# Created by: [email protected]

PORTNAME=	cooledit
DISTVERSION=	3.17.28
PORTREVISION=	3
CATEGORIES=	editors
MASTER_SITES=	SUNSITE/apps/editors/X/cooledit

MAINTAINER=	[email protected]
COMMENT=	Suite of utilities, including a GUI editor

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gettext gmake libtool python xorg # gettext is linked to despite .mo files having been deleted
USE_GCC=	any
USE_LDCONFIG=	yes
USE_XORG=	x11 xt
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

CFLAGS+=	-DHAVE_MBRTOWC
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib

OPTIONS_DEFINE=	NEXT_LOOK
NEXT_LOOK_DESC=	Enable NeXT look
NEXT_LOOK_CONFIGURE_ENABLE=	NeXT-look

post-patch:
	@${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>