aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/pkzip/Makefile
blob: 182d11e487ce1f4d01ef16c4fb43166101734d7f (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    pkzip
# Date created:         17 Mar 1999
# Whom:                 xxx
#
# $FreeBSD$
#

PORTNAME=   pkzip
PORTVERSION=    2.5
CATEGORIES= archivers linux
MASTER_SITES=   ftp://ftp.pkware.com/
DISTNAME=   pklin251
EXTRACT_SUFX=   .exe

MAINTAINER= dbader@eece.unm.edu

FORBIDDEN=  "security bug--see <URL:http://www.security.nnov.ru/advisories/archdt.asp> and <URL:http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-1270>"

BUILD_DEPENDS=  ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base

ONLY_FOR_ARCHS= i386
USE_LINUX=  yes

NO_BUILD=   Yes
NO_PACKAGE= Shareware

STRIP=

do-extract:
    ${MKDIR} ${WRKDIR}
    ${MKDIR} ${WRKSRC}
    ${CP} ${PORTSDIR}/distfiles/${DISTFILES} ${WRKSRC}/.
    ${CHMOD} 700 ${WRKSRC}/${DISTFILES}
    cd ${WRKSRC} && \
        ./${DISTFILES}

do-install:
    cd ${WRKSRC} && \
        ${INSTALL_PROGRAM} pkzip25 ${PREFIX}/bin

post-install:
    @${CAT} ${WRKSRC}/readme.txt

.include <bsd.port.mk>