blob: 55bc08be32ff51a115140dae6dfd4532207ebd33 (
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
|
# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:05 joerg Exp $
DISTNAME= upx-1.25-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 1
CATEGORIES= misc archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=upx/}
MAINTAINER= fab@gnux.info
HOMEPAGE= http://upx.sourceforge.net/
COMMENT= Ultimate packer for executables
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake perl
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} PREFIX=${PREFIX} target=netbsd \
UCLDIR=${PREFIX} LDLIBDIRS=-L${PREFIX}/lib
cd ${WRKSRC}/doc && ${MAKE_PROGRAM}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/upx ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/upx/
${INSTALL_DATA} ${WRKSRC}/doc/upx.doc ${PREFIX}/share/doc/upx
${INSTALL_DATA} ${WRKSRC}/doc/upx.html ${PREFIX}/share/doc/upx
.include "../../devel/ucl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|