blob: 1235622408cc36f7d4be798445b299ebd970b39a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: Max Khon <fjoe@FreeBSD.org>
PORTNAME= upx
PORTVERSION= 3.96
MASTER_SITES= https://github.com/upx/upx/releases/download/v${PORTVERSION}/
CATEGORIES= archivers
DISTVERSIONSUFFIX= -src
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Ultimate Packer for eXecutables
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libucl.so:archivers/ucl
USES= cpe gmake perl5 tar:xz
USE_PERL5= build
MAKE_ENV= UPX_UCLDIR=${LOCALBASE} \
target=freebsd
PLIST_FILES= bin/upx \
man/man1/upx.1.gz
CPE_VENDOR= upx_project
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx
${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
|