blob: 309df5715314c8a2d148fdb74b2d4661f026b0dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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://www.sbox.TUGraz.at/home/d/dada/distfiles/ \
http://mitglied.lycos.de/mkamm/distfiles/
DISTNAME= ${PORTNAME}-${DISTDATE}
MAINTAINER= mkamm@gmx.net
COMMENT= A set of useful GNU Autoconf macros
DISTDATE= 2006-12-13
USE_BZIP2= yes
USE_AUTOTOOLS= autoconf:259
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.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]*/,%%DATADIR%%/,' \
-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}
${ECHO_CMD} '@dirrm %%DATADIR%%' >>${PLIST}
.include <bsd.port.mk>
|