1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/devel/cook/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection Makefile for: cook
# Date created: 31 January 2000
# Whom: jasone
#
# $FreeBSD$
#
PORTNAME= cook
PORTVERSION= 2.28
CATEGORIES= devel
MASTER_SITES= http://gd.tuwien.ac.at/softeng/Aegis/cook/ \
http://miller.emu.id.au/pmiller/software/cook/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=jasone
MAINTAINER= jasone@FreeBSD.org
COMMENT= Like make(1), but more powerful and clean
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
MANCOMPRESSED= no
USE_GETTEXT= yes
# 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 of the manpages in a directory that MANLANG can't
# cope with. Delete the extra copies.
post-install:
@${RM} -rf ${PREFIX}/share/cook/en/man1
.include <bsd.port.mk>