freebsd-ports/archivers/upx/Makefile
2022-01-29 07:26:35 +08:00

32 lines
703 B
Makefile

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