diff options
author | jasone <jasone@FreeBSD.org> | 2000-02-01 07:41:59 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-02-01 07:41:59 +0000 |
commit | cc65e7bc980a3801a5c873bb2a20547bcbc74129 (patch) | |
tree | 7b0ee91d162629fc0e3afcd2838e31691517afc8 /devel/cook/Makefile | |
parent | 29bd91a6b1591d3c48d60b8ac40ff96e45b072fa (diff) | |
download | FreeBSD-ports-cc65e7bc980a3801a5c873bb2a20547bcbc74129.zip FreeBSD-ports-cc65e7bc980a3801a5c873bb2a20547bcbc74129.tar.gz |
Add port of 'cook', which is similar in nature to make(1).
Diffstat (limited to 'devel/cook/Makefile')
-rw-r--r-- | devel/cook/Makefile | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/devel/cook/Makefile b/devel/cook/Makefile new file mode 100644 index 0000000..b2b8787 --- /dev/null +++ b/devel/cook/Makefile @@ -0,0 +1,64 @@ +# New ports collection Makefile for: cook +# Version required: 2.11 +# Date created: 31 January 2000 +# Whom: jasone +# +# $FreeBSD$ +# + +DISTNAME= cook-2.11 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SUNSITE} \ + http://www.canb.auug.org.au/~millerp/cook/ +MASTER_SITE_SUBDIR= devel/make + +MAINTAINER= jasone@freebsd.org + +BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext + +USE_AUTOCONF= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib + +MAN1= c_incl.1 cook.1 cook_bom.1 cook_lic.1 cookfp.1 cooktime.1 find_libs.1 \ + make2cook.1 roffpp.1 +MANPREFIX = ${PREFIX}/share/cook +MANLANG = "" en +MANCOMPRESSED= no + +strip_bins := c_incl cook cook_bom cookfp cooktime find_libs make2cook roffpp + +# cook's configure.in is in the etc subdirectory. Move it to the main +# directory so that USE_AUTOCONF works. +post-patch: + @${MV} ${WRKSRC}/etc/configure.in ${WRKSRC}/ + +# Make sure that the whole directory tree exists. +pre-install: + ${MKDIR} ${PREFIX}/share/cook/en/man1 + ${MKDIR} ${PREFIX}/lib/cook/en/LC_MESSAGES + +# cook installs extra copies in a directory that MANLANG can't cope with, so +# shuffle things around a bit. +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 +.for bin in ${strip_bins} + @strip ${PREFIX}/bin/${bin} +.endfor + @echo + @echo "Add ${PREFIX}/share/cook/man to your MANPATH in order to " \ + "access the manual" + @echo "pages included with this port." + @echo + +.include <bsd.port.mk> |