summaryrefslogtreecommitdiff
path: root/archivers/pkzip/Makefile
blob: 109ef92b419fc5a601ff7fe7aa4c453acebf0a75 (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
# 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

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>