aboutsummaryrefslogtreecommitdiff
path: root/devel/cook
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cook')
-rw-r--r--devel/cook/Makefile27
-rw-r--r--devel/cook/distinfo2
-rw-r--r--devel/cook/pkg-message2
-rw-r--r--devel/cook/pkg-plist38
4 files changed, 16 insertions, 53 deletions
diff --git a/devel/cook/Makefile b/devel/cook/Makefile
index 830c95144d14..11c7f0503a29 100644
--- a/devel/cook/Makefile
+++ b/devel/cook/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= cook
-PORTVERSION= 2.23
-PORTREVISION= 1
+PORTVERSION= 2.24
CATEGORIES= devel
MASTER_SITES= http://gd.tuwien.ac.at/softeng/Aegis/cook/
-MAINTAINER= ports@freebsd.org
+MAINTAINER= jasone@canonware.com
COMMENT= Like make(1), but more powerful and clean
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
@@ -19,11 +18,10 @@ LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \
YACC=yacc
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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
-MANPREFIX = ${PREFIX}/share/cook
-MANLANG = "" en
MANCOMPRESSED= no
# Make sure that the whole directory tree exists.
@@ -32,23 +30,8 @@ pre-install:
${MKDIR} ${PREFIX}/lib/cook/en/LC_MESSAGES
# cook installs extra copies of the manpages in a directory that MANLANG can't
-# cope with, so shuffle things around a bit.
+# cope with. Delete the extra copies.
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
- @echo "Add ${PREFIX}/share/cook/man to your MANPATH in order to" \
- "access the manual"
- @echo "pages included with this port."
- @echo
+ @${RM} -rf ${PREFIX}/share/cook/en/man1
.include <bsd.port.mk>
diff --git a/devel/cook/distinfo b/devel/cook/distinfo
index 013c1fff913a..1de0325ca90c 100644
--- a/devel/cook/distinfo
+++ b/devel/cook/distinfo
@@ -1 +1 @@
-MD5 (cook-2.23.tar.gz) = f8c6721a3d96a641e748904e12defd25
+MD5 (cook-2.24.tar.gz) = a6614c7fbabfa7450fec990715684e14
diff --git a/devel/cook/pkg-message b/devel/cook/pkg-message
deleted file mode 100644
index 9edc833ded72..000000000000
--- a/devel/cook/pkg-message
+++ /dev/null
@@ -1,2 +0,0 @@
-Add ${PREFIX}/share/cook/man to your MANPATH in order to access the manual
-pages included with this port.
diff --git a/devel/cook/pkg-plist b/devel/cook/pkg-plist
index e6ee2d1aa95c..1cd279710cdc 100644
--- a/devel/cook/pkg-plist
+++ b/devel/cook/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/c_incl
bin/cook
bin/cook_bom
@@ -14,32 +15,21 @@ lib/cook/en/LC_MESSAGES/cookfp.mo
lib/cook/en/LC_MESSAGES/cooktime.mo
lib/cook/en/LC_MESSAGES/file_check.mo
lib/cook/en/LC_MESSAGES/find_libs.mo
-lib/cook/en/LC_MESSAGES/fstrcmp.mo
lib/cook/en/LC_MESSAGES/make2cook.mo
lib/cook/en/LC_MESSAGES/roffpp.mo
-share/cook/en/building.ps
-share/cook/en/building.dvi
-share/cook/en/building.txt
-share/cook/en/lsm.ps
-share/cook/en/lsm.dvi
-share/cook/en/lsm.txt
-share/cook/en/man1/.not_empty
-share/cook/en/readme.ps
-share/cook/en/readme.dvi
-share/cook/en/readme.txt
-share/cook/en/refman.ps
-share/cook/en/refman.dvi
-share/cook/en/refman.txt
-share/cook/en/release.ps
-share/cook/en/release.dvi
-share/cook/en/release.txt
-share/cook/en/user-guide.ps
-share/cook/en/user-guide.dvi
-share/cook/en/user-guide.txt
share/cook/as
share/cook/bison
share/cook/c
share/cook/c++
+share/cook/en/refman.dvi
+share/cook/en/refman.ps
+share/cook/en/refman.txt
+share/cook/en/tutorial.dvi
+share/cook/en/tutorial.ps
+share/cook/en/tutorial.txt
+share/cook/en/user-guide.dvi
+share/cook/en/user-guide.ps
+share/cook/en/user-guide.txt
share/cook/f77
share/cook/functions
share/cook/g77
@@ -54,9 +44,6 @@ share/cook/rcs
share/cook/recursive
share/cook/sccs
share/cook/text
-share/cook/en/tutorial.dvi
-share/cook/en/tutorial.ps
-share/cook/en/tutorial.txt
share/cook/usr
share/cook/usr.local
share/cook/yacc
@@ -64,10 +51,5 @@ share/cook/yacc_many
@dirrm lib/cook/en/LC_MESSAGES
@dirrm lib/cook/en
@dirrm lib/cook
-@dirrm share/cook/man/en/man1
-@dirrm share/cook/man/en
-@dirrm share/cook/man/man1
-@dirrm share/cook/man
-@dirrm share/cook/en/man1
@dirrm share/cook/en
@dirrm share/cook