freebsd-ports/devel/autogen/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.1 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: autogen
# Date created: Mar 11, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= autogen
PORTVERSION= 5.9.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
${MASTER_SITE_GNU:S/$/:gnu/}
MASTER_SITE_SUBDIR= ${PORTNAME} ${PORTNAME}/rel${PORTVERSION}/:gnu
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT,gnu
MAINTAINER= clsung@FreeBSD.org
COMMENT= The Automated Program Generator
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
USE_BZIP2= yes
USE_GNOME= gnomehack gnometarget libxml2
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libguile=yes --with-libxml2=yes --datadir=${PREFIX}/share
USE_LDCONFIG= yes
MAN1= autogen.1 autoopts-config.1 columns.1 getdefs.1 xml2ag.1
MAN3= ao_string_tokenize.3 configFileLoad.3 optionFileLoad.3 \
optionFindNextValue.3 optionFindValue.3 optionFree.3 \
optionGetValue.3 optionLoadLine.3 optionNextValue.3 \
optionProcess.3 optionRestore.3 optionOnlyUsage.3 \
optionSaveFile.3 optionSaveState.3 optionUnloadNested.3 \
optionVersion.3 strequate.3 streqvcmp.3 streqvmap.3 strneqvcmp.3 \
strtransform.3
INFO= autogen
.include <bsd.port.mk>