2004-02-17 04:05:13 +01:00
|
|
|
PORTNAME= upx
|
2021-12-21 19:46:12 +01:00
|
|
|
PORTVERSION= 3.96
|
2022-01-29 00:12:06 +01:00
|
|
|
MASTER_SITES= https://github.com/upx/upx/releases/download/v${PORTVERSION}/
|
2004-02-17 04:05:13 +01:00
|
|
|
CATEGORIES= archivers
|
2022-01-29 00:12:06 +01:00
|
|
|
DISTVERSIONSUFFIX= -src
|
2004-02-17 04:05:13 +01:00
|
|
|
|
2021-12-21 19:46:12 +01:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
archivers/upx: Fix build due to missing perl (pod2*) tools
upx unconditionally runs its docs target, which relies on multiple [1] pod2*
tools provided by perl.
USES=perl and USE_PERL=build were removed in ports r478489, resulting in those
tools not being available at build time, and the following errors:
/bin/sh: pod2man: not found
/bin/sh: pod2html: not found
/bin/sh: pod2text: not found
This change, accordingly, re-adds perl as an unconditional build dependency,
including a comment about what its for.
While I'm here:
* Update COMMENT for (portlint) compliance [2]
[1] pod2man, pod2html, pod2text
[2] Wikipedia, MajorGeeks and others also describe UPX without a "The" prefix
PR: 234002
Reported by: <mail ozzmosis com>
Approved by: portmgr (blanket: build fix, JFI)
MFH: 2018Q4
Differential Revision: D18549
2018-12-14 09:44:29 +01:00
|
|
|
COMMENT= Ultimate Packer for eXecutables
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://upx.github.io/
|
2004-02-17 04:05:13 +01:00
|
|
|
|
2018-08-30 21:53:21 +02:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libucl.so:archivers/ucl
|
2004-02-17 04:05:13 +01:00
|
|
|
|
2022-01-29 00:12:06 +01:00
|
|
|
USES= cpe gmake perl5 tar:xz
|
2021-12-21 19:46:12 +01:00
|
|
|
USE_PERL5= build
|
2018-08-30 21:53:21 +02:00
|
|
|
|
|
|
|
MAKE_ENV= UPX_UCLDIR=${LOCALBASE} \
|
2008-03-10 09:01:43 +01:00
|
|
|
target=freebsd
|
2004-02-17 04:05:13 +01:00
|
|
|
|
2013-12-26 17:53:14 +01:00
|
|
|
PLIST_FILES= bin/upx \
|
|
|
|
man/man1/upx.1.gz
|
2004-02-17 04:05:13 +01:00
|
|
|
|
2021-12-21 19:46:12 +01:00
|
|
|
CPE_VENDOR= upx_project
|
|
|
|
|
2004-02-17 04:05:13 +01:00
|
|
|
do-install:
|
2018-01-22 10:45:32 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx
|
2021-12-21 19:46:12 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${PREFIX}/man/man1
|
2004-02-17 04:05:13 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|