aboutsummaryrefslogtreecommitdiff
path: root/editors/mule-common/Makefile
blob: b1e41c39d33e4001c2aadce362bf72c649c95276 (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:	mule
# Version required:	2.2.2
# Date created:		22 November 1994
# Whom:			Satoshi Asami (asami)
#
# $Id: Makefile,v 1.17 1995/04/22 12:39:19 asami Exp $
#

DISTNAME=	mule-2.2
PKGNAME=	mule-2.2.2
CATEGORIES+=	editors
MASTER_SITES=	ftp://ftp.cs.buffalo.edu/pub/mule/ \
		ftp://etlport.etl.go.jp/pub/mule/ \
		ftp://sh.wide.ad.jp/JAPAN/mule/

PATCH_SITES=	ftp://ftp.cs.buffalo.edu/pub/mule/ \
		ftp://etlport.etl.go.jp/pub/mule/ \
		ftp://sh.wide.ad.jp/JAPAN/mule/
PATCHFILES=	patch-2.2.1.gz patch-2.2.2.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	asami@FreeBSD.ORG

HAS_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	i386--freebsd --prefix=${PREFIX} --with-x-toolkit \
		  --terminal-face

STRIP=

pre-build:
	find ${WRKSRC} -name \*.orig -exec /bin/rm -f \{} \;

post-install:
# note that any2ps is a script
	strip ${PREFIX}/bin/b2m
	strip ${PREFIX}/bin/coco
	strip ${PREFIX}/bin/m2ps
	strip ${PREFIX}/bin/mule-19.28
	gzip -9nf ${PREFIX}/man/man1/coco.1
	gzip -9nf ${PREFIX}/man/man1/m2ps.1
	gzip -9nf ${PREFIX}/man/man1/mule.1

.include <bsd.port.mk>