summaryrefslogtreecommitdiffstats
path: root/devel/cook/Makefile
blob: 8bff3e4675864f686ae33215943f871b2d7d2a7a (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
# Created by: jasone
# $FreeBSD$

PORTNAME=	cook
PORTVERSION=	2.30
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://miller.emu.id.au/pmiller/software/cook/ \
		LOCAL/jasone

MAINTAINER=	jasone@FreeBSD.org
COMMENT=	Like make(1), but more powerful and clean

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	YACC=yacc
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE=	yes

USES=		gettext perl5
DESTDIRNAME=	RPM_BUILD_ROOT

# Make sure that the whole directory tree exists.
pre-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/cook/en/man1
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/cook/en/LC_MESSAGES

# cook installs extra copies of the manpages in a directory that MANLANG can't
# cope with.  Delete the extra copies.
post-install:
	@${RM} -rf ${STAGEDIR}${PREFIX}/share/cook/en/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud