aboutsummaryrefslogtreecommitdiff
path: root/games/filters/Makefile
blob: 83012a5ac23e259b58219979b5ad26d5594792c4 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=	filters
PORTVERSION=	2.49
CATEGORIES=	games perl5
MASTER_SITES=	http://ftp.debian.org/debian/pool/main/f/filters/ \
		CRITICAL
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Collection of filters, including B1FF, and the Swedish Chef

CONFLICTS=	talkfilters-[0-9]* jive-[0-9]* chef-[0-9]* kenny-[0-9]* \
		lolcat-[0-9]*

USES=		shebangfix
USE_PERL5=	yes
USE_GMAKE=	yes
MAKE_JOBS_UNSAFE=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}

PERLFILTERS=	b1ff censor chef eleet fudd jibberish kenny pirate rasterman \
		spammer studly uniencode upside-down fanboy scottish lolcat
CFILTERS=	jethro kraut cockney jive nyc ken ky00te newspeak nethackify \
		scramble

SHEBANG_FILES=	${PERLFILTERS}

MAN1=		filters.1
MLINKS=	filters.1 b1ff.1 \
		filters.1 censor.1 \
		filters.1 chef.1 \
		filters.1 eleet.1 \
		filters.1 fudd.1 \
		filters.1 jibberish.1 \
		filters.1 kenny.1 \
		filters.1 pirate.1 \
		filters.1 rasterman.1 \
		filters.1 spammer.1 \
		filters.1 studly.1 \
		filters.1 uniencode.1 \
		filters.1 upside-down.1 \
		filters.1 jethro.1 \
		filters.1 kraut.1 \
		filters.1 cockney.1 \
		filters.1 jive.1 \
		filters.1 nyc.1 \
		filters.1 ken.1 \
		filters.1 ky00te.1 \
		filters.1 newspeak.1 \
		filters.1 nethackify.1 \
		filters.1 fanboy.1 \
		filters.1 scottish.1 \
		filters.1 scramble.1

post-extract:
	@${MV} ${WRKSRC}/${PORTNAME}.6 ${WRKSRC}/${MAN1}

do-install:
.for f in ${CFILTERS}
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
.for f in ${PERLFILTERS}
	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1

.include <bsd.port.mk>