aboutsummaryrefslogtreecommitdiff
path: root/textproc/dico/Makefile
blob: 516620bc269df4324c1c45ff8d69c0e40797fb48 (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
# New ports collection makefile for:	dico
# Date created:				11 October 2000
# Whom:					Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#

PORTNAME=	dico
PORTVERSION= 	1.1
CATEGORIES=	textproc
MASTER_SITES=	http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/
#		ftp://ftp.supelec.fr/lsi/pub/security/
#		have dico.tar.gz which fail because of EXTRACT_SUFX
DISTNAME=	le_dico
EXTRACT_SUFX=	.tgz

MAINTAINER=	clefevre@citeweb.net

NO_WRKSUBDIR=	true
PATCH_STRIP=	-p1
USE_AUTOMAKE=	true
USE_GMAKE=	true
AUTOMAKE=	automake --add-missing --foreign --include-deps
ACLOCAL=	aclocal
MAKE_ARGS=	prefix=${PREFIX}
MAN1=		dico.1

post-patch:
	@${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/sources/dico.c

pre-configure:
	@cd ${WRKSRC} && ${ACLOCAL}

.include <bsd.port.mk>