2022-02-19 21:21:23 +01:00
|
|
|
PORTNAME= diamond
|
2022-05-19 00:28:25 +02:00
|
|
|
DISTVERSION= 1.3.8
|
2023-04-25 17:15:30 +02:00
|
|
|
PORTREVISION= 1
|
2022-02-19 21:21:23 +01:00
|
|
|
CATEGORIES= editors
|
2022-03-01 11:17:16 +01:00
|
|
|
MASTER_SITES= https://download.copperspice.com/${PORTNAME}/source/
|
2022-03-03 16:50:32 +01:00
|
|
|
PKGNAMESUFFIX= -cs
|
|
|
|
DISTNAME= Diamond-${DISTVERSION}
|
2022-02-19 21:21:23 +01:00
|
|
|
|
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
|
|
|
COMMENT= Compact programmers editor
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/copperspice/diamond
|
2022-02-19 21:21:23 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2022-03-03 16:50:32 +01:00
|
|
|
NOT_FOR_ARCHS= i386
|
|
|
|
|
2022-02-21 14:15:18 +01:00
|
|
|
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
|
2022-02-19 21:21:23 +01:00
|
|
|
BUILD_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice
|
|
|
|
RUN_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice
|
|
|
|
|
2022-03-01 11:17:16 +01:00
|
|
|
USES= compiler:c++17-lang cmake dos2unix gl gnome iconv jpeg pkgconfig ssl tar:bz2 xorg
|
2022-02-19 21:21:23 +01:00
|
|
|
USE_GL= gl
|
|
|
|
USE_GNOME= cairo glib20 libxml2
|
|
|
|
USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender
|
|
|
|
|
2022-03-01 11:17:16 +01:00
|
|
|
# It's a bit up-in-the-air if the GitHub tarballs are less fragile
|
|
|
|
# than the upstream source tarballs, which have their own peculiarities
|
|
|
|
# (e.g. CRLF, no subdir). We dos2unix the files that need patching.
|
|
|
|
#
|
|
|
|
# USE_GITHUB= yes
|
|
|
|
# GH_ACCOUNT= copperspice
|
|
|
|
# GH_PROJECT= diamond
|
|
|
|
#
|
|
|
|
NO_WRKSUBDIR= yes
|
2022-05-08 23:14:36 +02:00
|
|
|
DOS2UNIX_FILES= CMakeLists.txt src/CMakeLists.txt src/dialog_macro.cpp src/json.cpp src/recent_tabs.cpp
|
2022-02-19 21:21:23 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|