Lines 6-17
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cook |
8 |
PORTNAME= cook |
9 |
PORTVERSION= 2.23 |
9 |
PORTVERSION= 2.24 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
12 |
MASTER_SITES= http://gd.tuwien.ac.at/softeng/Aegis/cook/ |
11 |
MASTER_SITES= http://gd.tuwien.ac.at/softeng/Aegis/cook/ |
13 |
|
12 |
|
14 |
MAINTAINER= ports@freebsd.org |
13 |
MAINTAINER= jasone@canonware.com |
15 |
COMMENT= Like make(1), but more powerful and clean |
14 |
COMMENT= Like make(1), but more powerful and clean |
16 |
|
15 |
|
17 |
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext |
16 |
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext |
Lines 19-29
Link Here
|
19 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \ |
19 |
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \ |
21 |
YACC=yacc |
20 |
YACC=yacc |
|
|
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
22 |
|
22 |
|
23 |
MAN1= c_incl.1 cook.1 cook_bom.1 cook_lic.1 cook_rsh.1 cookfp.1 cooktime.1 \ |
23 |
MAN1= c_incl.1 cook.1 cook_bom.1 cook_lic.1 cook_rsh.1 cookfp.1 cooktime.1 \ |
24 |
find_libs.1 make2cook.1 roffpp.1 |
24 |
find_libs.1 make2cook.1 roffpp.1 |
25 |
MANPREFIX = ${PREFIX}/share/cook |
|
|
26 |
MANLANG = "" en |
27 |
MANCOMPRESSED= no |
25 |
MANCOMPRESSED= no |
28 |
|
26 |
|
29 |
# Make sure that the whole directory tree exists. |
27 |
# Make sure that the whole directory tree exists. |
Lines 32-54
Link Here
|
32 |
${MKDIR} ${PREFIX}/lib/cook/en/LC_MESSAGES |
30 |
${MKDIR} ${PREFIX}/lib/cook/en/LC_MESSAGES |
33 |
|
31 |
|
34 |
# cook installs extra copies of the manpages in a directory that MANLANG can't |
32 |
# cook installs extra copies of the manpages in a directory that MANLANG can't |
35 |
# cope with, so shuffle things around a bit. |
33 |
# cope with. Delete the extra copies. |
36 |
post-install: |
34 |
post-install: |
37 |
@${MKDIR} ${PREFIX}/share/cook/en/man1 |
35 |
@${RM} -rf ${PREFIX}/share/cook/en/man1 |
38 |
@${MKDIR} ${PREFIX}/share/cook/man/en/man1 |
|
|
39 |
.for manpage in ${MAN1} |
40 |
@${MV} ${PREFIX}/share/cook/en/man1/${manpage} \ |
41 |
${PREFIX}/share/cook/man/en/man1/ |
42 |
.endfor |
43 |
@${TOUCH} ${PREFIX}/share/cook/en/man1/.not_empty |
44 |
@${MKDIR} ${PREFIX}/share/cook/man/man1 |
45 |
.for manpage in ${MAN1} |
46 |
@${MV} ${PREFIX}/man/man1/${manpage} ${PREFIX}/share/cook/man/man1/ |
47 |
.endfor |
48 |
@echo |
49 |
@echo "Add ${PREFIX}/share/cook/man to your MANPATH in order to" \ |
50 |
"access the manual" |
51 |
@echo "pages included with this port." |
52 |
@echo |
53 |
|
36 |
|
54 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |