aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-08-20 07:14:09 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-08-20 08:10:11 +0000
commit32e1ea69d00d0608ec3bc6ac4a5b7ce0137c0ada (patch)
tree94ad84f443e83ef4f8508ecf8846cdef2dcd3bb0
parent8086199cb859049e5cb927ef1972c3e549154a25 (diff)
downloadports-32e1ea69d00d0608ec3bc6ac4a5b7ce0137c0ada.tar.gz
ports-32e1ea69d00d0608ec3bc6ac4a5b7ce0137c0ada.zip
ports-mgmt/octopkg: Update to 0.4.1
- Update LICENSE - Drop USES=compiler ChangeLog: https://github.com/aarnt/octopkg/releases/tag/v0.4.1 https://github.com/aarnt/octopkg/releases/tag/v0.4.0 Reported by: Alexandre Arnt
-rw-r--r--ports-mgmt/octopkg/Makefile34
-rw-r--r--ports-mgmt/octopkg/distinfo6
2 files changed, 12 insertions, 28 deletions
diff --git a/ports-mgmt/octopkg/Makefile b/ports-mgmt/octopkg/Makefile
index c06c966f15b3..5f6e94bc400a 100644
--- a/ports-mgmt/octopkg/Makefile
+++ b/ports-mgmt/octopkg/Makefile
@@ -1,6 +1,5 @@
PORTNAME= octopkg
-DISTVERSION= 0.3.3
-PORTREVISION= 1
+DISTVERSION= 0.4.1
CATEGORIES= ports-mgmt
MASTER_SITES= https://github.com/aarnt/${PORTNAME}/releases/download/v${DISTVERSION}/
@@ -8,38 +7,23 @@ MAINTAINER= eduardo@FreeBSD.org
COMMENT= Graphical front-end to the FreeBSD pkg-ng package manager
WWW= https://tintaescura.com/projects/octopkg/
-LICENSE= LGPL20
+LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c++17-lang desktop-file-utils gl qmake qt:6
+RUN_DEPENDS= qt-sudo:security/qt-sudo
+
+USES= desktop-file-utils gl qmake qt:6
USE_GL= opengl
-USE_LOCALE= en_US.UTF-8
USE_QT= base tools
PLIST_FILES= bin/${PORTNAME} \
- lib/${PORTNAME}/${PORTNAME}-doas \
- share/applications/${PORTNAME}.desktop
+ share/applications/${PORTNAME}.desktop \
+ share/icons/octopi.png
post-patch:
- ${REINPLACE_CMD} 's#/usr/lib#${PREFIX}/lib#' \
- ${WRKSRC}/src/strconstants.cpp
${REINPLACE_CMD} 's#/usr/local#${PREFIX}#' \
${WRKSRC}/src/constants.h \
- ${WRKSRC}/src/main.cpp
-
-do-configure:
- cd ${WRKSRC} && ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
- cd ${WRKSRC}/doas && ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS}
-
-do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
- cd ${WRKSRC}/doas && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
-
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/doas/${PORTNAME}-doas ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \
- ${STAGEDIR}${PREFIX}/share/applications
+ ${WRKSRC}/src/main.cpp \
+ ${WRKSRC}/src/strconstants.cpp
.include <bsd.port.mk>
diff --git a/ports-mgmt/octopkg/distinfo b/ports-mgmt/octopkg/distinfo
index 80a4a470761f..1b9b57fff87f 100644
--- a/ports-mgmt/octopkg/distinfo
+++ b/ports-mgmt/octopkg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1695394369
-SHA256 (octopkg-0.3.3.tar.gz) = 6c36e1ee9d45aa362536eb8cdf65cdd494f63a7858642febbdbbbccc6301b614
-SIZE (octopkg-0.3.3.tar.gz) = 359261
+TIMESTAMP = 1724059086
+SHA256 (octopkg-0.4.1.tar.gz) = 7ca4c9d62e4070c8158741602e9afd99a7f82d8711541863c4f00ff11624ca70
+SIZE (octopkg-0.4.1.tar.gz) = 320115