summaryrefslogtreecommitdiff
path: root/archivers/stuffit/Makefile
blob: 576b75cfa3bb28316329d7da0790e6f46a897e5f (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
33
34
35
36
37
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.20 2005/06/16 06:57:37 jlam Exp $

DISTNAME=		stuffit520.611linux-i386
PKGNAME=		stuffit-5.2.0.611
CATEGORIES=		archivers
MASTER_SITES=		http://www.aladdinsys.com/downloads/files/

MAINTAINER=		ben@NetBSD.org
HOMEPAGE=		http://www.stuffit.com/unix/
COMMENT=		Stuffit Archive Creator and Expander

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD"
DEPENDS+=		suse_base>=6:../../emulators/${SUSE_DIR_PREFIX}_base
.endif

RESTRICTED=		"Redistribution not permitted"
NO_SRC_ON_FTP=		${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}

ONLY_FOR_PLATFORM=	Linux-*-i386 NetBSD-*-i386

WRKSRC=			${WRKDIR}
CHECK_SHLIBS=		NO
NO_CONFIGURE=		yes
NO_BUILD=		yes

INSTALLATION_DIRS=	bin man/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/man1/* ${PREFIX}/man/man1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stuffit
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stuffit/stuff
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stuffit/unstuff
	${INSTALL_DATA} ${WRKSRC}/doc/stuff/* \
		${PREFIX}/share/doc/stuffit/stuff/
	${INSTALL_DATA} ${WRKSRC}/doc/unstuff/* \
		${PREFIX}/share/doc/stuffit/unstuff/

.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"