Skip to content

Commit

Permalink
editors/cooledit: Adopt/Port improvements
Browse files Browse the repository at this point in the history
Prepare to new release:

 - Add WWW project url
 - Build with clang
 - Use make instead of gmake
 - Remove unneeded patch (HAVE_MBRTOWC)
 - Clean compiler flags
 - Bump PORTREVISION
  • Loading branch information
nunotexbsd committed Oct 9, 2022
1 parent 5f4279c commit a32b593
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 28 deletions.
19 changes: 9 additions & 10 deletions editors/cooledit/Makefile
@@ -1,28 +1,27 @@
PORTNAME= cooledit
DISTVERSION= 3.17.28
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= SUNSITE/apps/editors/X/cooledit

MAINTAINER= ports@FreeBSD.org
COMMENT= Suite of utilities, including a GUI editor
MAINTAINER= eduardo@FreeBSD.org
COMMENT= CoolEdit Programmers Code Editor
WWW= https://github.com/paulsheer/cooledit

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

USES= gettext gmake libtool python xorg # gettext is linked to despite .mo files having been deleted
USE_GCC= yes
USES= gettext-runtime libtool:build python xorg # gettext is linked to despite .mo files having been deleted
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
LDFLAGS+= -lpthread

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

post-patch:
Expand Down
18 changes: 0 additions & 18 deletions editors/cooledit/files/patch-widget__widechar.c

This file was deleted.

0 comments on commit a32b593

Please sign in to comment.