2000-02-01 08:41:59 +01:00
|
|
|
# New ports collection Makefile for: cook
|
|
|
|
# Date created: 31 January 2000
|
|
|
|
# Whom: jasone
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= cook
|
2003-06-08 14:50:53 +02:00
|
|
|
PORTVERSION= 2.23
|
2000-02-01 08:41:59 +01:00
|
|
|
CATEGORIES= devel
|
2003-06-08 14:50:53 +02:00
|
|
|
MASTER_SITES= http://gd.tuwien.ac.at/softeng/Aegis/cook/
|
2000-02-01 08:41:59 +01:00
|
|
|
|
2002-05-12 00:19:34 +02:00
|
|
|
MAINTAINER= ports@freebsd.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Like make(1), but more powerful and clean
|
2000-02-01 08:41:59 +01:00
|
|
|
|
2002-08-01 18:22:41 +02:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
2000-02-01 08:41:59 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-11-30 00:14:27 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \
|
|
|
|
YACC=yacc
|
2000-02-01 08:41:59 +01:00
|
|
|
|
2001-11-17 23:38:16 +01:00
|
|
|
MAN1= c_incl.1 cook.1 cook_bom.1 cook_lic.1 cook_rsh.1 cookfp.1 cooktime.1 \
|
|
|
|
find_libs.1 make2cook.1 roffpp.1
|
2000-02-01 08:41:59 +01:00
|
|
|
MANPREFIX = ${PREFIX}/share/cook
|
|
|
|
MANLANG = "" en
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
# Make sure that the whole directory tree exists.
|
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/cook/en/man1
|
|
|
|
${MKDIR} ${PREFIX}/lib/cook/en/LC_MESSAGES
|
|
|
|
|
2000-02-22 06:35:50 +01:00
|
|
|
# cook installs extra copies of the manpages in a directory that MANLANG can't
|
|
|
|
# cope with, so shuffle things around a bit.
|
2000-02-01 08:41:59 +01:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/cook/en/man1
|
|
|
|
@${MKDIR} ${PREFIX}/share/cook/man/en/man1
|
|
|
|
.for manpage in ${MAN1}
|
|
|
|
@${MV} ${PREFIX}/share/cook/en/man1/${manpage} \
|
|
|
|
${PREFIX}/share/cook/man/en/man1/
|
|
|
|
.endfor
|
|
|
|
@${TOUCH} ${PREFIX}/share/cook/en/man1/.not_empty
|
|
|
|
@${MKDIR} ${PREFIX}/share/cook/man/man1
|
|
|
|
.for manpage in ${MAN1}
|
|
|
|
@${MV} ${PREFIX}/man/man1/${manpage} ${PREFIX}/share/cook/man/man1/
|
|
|
|
.endfor
|
|
|
|
@echo
|
2000-02-22 06:35:50 +01:00
|
|
|
@echo "Add ${PREFIX}/share/cook/man to your MANPATH in order to" \
|
2000-02-01 08:41:59 +01:00
|
|
|
"access the manual"
|
|
|
|
@echo "pages included with this port."
|
|
|
|
@echo
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|