1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/autoconf-archive/Makefile
Martin Wilke 10cf26b156 - Update to 2008-11-07
PR:		128676
Submitted by:	Martin <dada@sbox.tugraz.at>
Approved by:	maintainer
2008-11-08 20:13:24 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: autoconf-archive
# Date Created: 18 October 2006
# Whom: Martin Kammerhofer
#
# $FreeBSD$
#
PORTNAME= autoconf-archive
PORTVERSION= 0.${DISTDATE:C/-/./g}
CATEGORIES= devel
MASTER_SITES= http://autoconf-archive.cryp.to/ \
http://mitglied.lycos.de/mkamm/distfiles/
DISTNAME= ${PORTNAME}-${DISTDATE}
MAINTAINER= mkamm@gmx.net
COMMENT= A set of useful GNU Autoconf macros
DISTDATE= 2008-11-07
USE_BZIP2= yes
USE_AUTOTOOLS= autoconf:262:env automake:110:env
GNU_CONFIGURE= yes
PLIST_SUB= MACRODIR=share/aclocal
pre-configure:
cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} --install
.if defined(NOPORTDOCS)
do-install:
cd ${WRKSRC} && ${MAKE} install-dist_aclocalDATA
.endif
# next rule for maintainer use only: automatically create pkg-plist
plist:
@test -e ${CONFIGURE_COOKIE} || { \
${ECHO_MSG} >&2 "do 'make configure' first!"; exit 64; }
cd ${WRKSRC} && ${MAKE} -V DATA | \
${TR} ' ' '\n' | \
${SED} -e 's,^\./m4[a-z]*/,%%MACRODIR%%/,' \
-e 's,^\./,%%PORTDOCS%%%%DOCSDIR%%/,' \
-e 's,/htmldoc/,/html/,' \
-e 's,^[A-Za-z_],%%PORTDOCS%%%%DOCSDIR%%/&,' | \
${SORT} -u >${PLIST}
${ECHO_CMD} '%%PORTDOCS%%@dirrm %%DOCSDIR%%/html' >>${PLIST}
${ECHO_CMD} '%%PORTDOCS%%@dirrm %%DOCSDIR%%' >>${PLIST}
.include <bsd.port.mk>