1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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
This commit is contained in:
Nuno Teixeira 2024-08-20 08:14:09 +01:00
parent 8086199cb8
commit 32e1ea69d0
2 changed files with 12 additions and 28 deletions

View File

@ -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>

View File

@ -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