git: f3b53fb946d7 - main - x11-toolkits/unique: add LICENSE, pet port (lint, fmt, clippy)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Aug 2025 09:14:48 UTC
The branch main has been updated by alven:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f3b53fb946d79eabca2eed96a28df34f413395fe
commit f3b53fb946d79eabca2eed96a28df34f413395fe
Author: Chris Hutchinson <portmaster@BSDforge.com>
AuthorDate: 2025-07-17 19:17:45 +0000
Commit: Älven <alven@FreeBSD.org>
CommitDate: 2025-08-03 09:13:18 +0000
x11-toolkits/unique: add LICENSE, pet port (lint, fmt, clippy)
* Switch WWW to https:// protocol
* Use localbase:ldflags for CPPFLAGS and LDFLAGS
PR: 279103
Approved by: yuri@ (Mentor)
---
x11-toolkits/unique/Makefile | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/x11-toolkits/unique/Makefile b/x11-toolkits/unique/Makefile
index 01055d3b064a..20e8dd9f9c8b 100644
--- a/x11-toolkits/unique/Makefile
+++ b/x11-toolkits/unique/Makefile
@@ -1,5 +1,5 @@
PORTNAME= unique
-PORTVERSION= 1.1.6
+DISTVERSION= 1.1.6
PORTREVISION= 8
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME
@@ -7,21 +7,25 @@ DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for single instance applications
-WWW= http://live.gnome.org/LibUnique
+WWW= https://live.gnome.org/LibUnique
-PORTSCOUT= ignore:1
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
-USES= gettext gmake gnome libtool pathfix pkgconfig tar:bzip2
-USE_GNOME= gtk20 gnomeprefix introspection:build
+USES= gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig \
+ tar:bzip2
+USE_GNOME= gnomeprefix gtk20 introspection:build
USE_LDCONFIG= yes
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-maintainer-flags
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+
INSTALL_TARGET= install-strip
+PORTSCOUT= ignore:1
+
post-patch:
@${REINPLACE_CMD} -e 's|G_CONST_RETURN|const|g' \
${WRKSRC}/unique/uniqueapp.c \