File:
[cvs.NetBSD.org] /
pkgsrc /
archivers /
upx /
Makefile
Revision
1.26:
download - view:
text,
annotated -
select for diffs
Sat Jul 9 06:37:47 2016 UTC (8 years, 5 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
HEAD
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
# $NetBSD: Makefile,v 1.26 2016/07/09 06:37:47 wiz Exp $
DISTNAME= upx-3.91-src
PKGNAME= ${DISTNAME:S/-src//1}
PKGREVISION= 4
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=upx/}
EXTRACT_SUFX= .tar.bz2
# consult src/stub/src/c/Makevars.lzma for the supported LZMA SDK version
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} lzma443${EXTRACT_SUFX}
SITES.lzma443.tar.bz2= ${MASTER_SITE_SOURCEFORGE:=sevenzip/}
MAINTAINER= fab@gnux.info
HOMEPAGE= http://upx.sourceforge.net/
COMMENT= Ultimate packer for executables
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
USE_TOOLS+= gmake perl pod2man pod2html pod2text
NO_CONFIGURE= yes
BUILD_DIRS= src doc
MAKE_ENV+= PREFIX=${PREFIX} UCLDIR=${PREFIX} LDLIBDIRS=-L${PREFIX}/lib
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/upx
BUILDLINK_TRANSFORM+= rm:-mcpu=i686
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Map rm:-Wl,upx.map
post-extract:
mkdir -p ${WRKSRC}/src/stub/src/c/lzma-sdk
ln -sf ${WRKDIR}/C ${WRKSRC}/src/stub/src/c/lzma-sdk/C
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${DESTDIR}${PREFIX}/bin/upx
${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/upx.doc ${DESTDIR}${PREFIX}/share/doc/upx
${INSTALL_DATA} ${WRKSRC}/doc/upx.html ${DESTDIR}${PREFIX}/share/doc/upx
.include "../../devel/ucl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>