aboutsummaryrefslogtreecommitdiff
path: root/devel/autobook/Makefile
blob: 46f36f7594fd93e910e0b65a33631e0565bf02d0 (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
# Created by: Edwin Groothuis (edwin@mavetju.org)
# $FreeBSD$

PORTNAME=	autobook
PORTVERSION=	1.5
CATEGORIES=	devel
MASTER_SITES=	http://sources.redhat.com/autobook/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNU autoconf, automake, and libtool - The Book

LICENSE=	OPL
LICENSE_NAME=	OPEN PUBLICATION LICENSE
LICENSE_FILE=	${WRKDIR}/LICENSE
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

NO_BUILD=	yes
NO_ARCH=	yes

post-extract:
	@${SED} -ne '/<pre>/,/<\/pre>/ { s|.*<pre>||; s|</pre>.*||; s|&#60;|<|g; s|&#62;|>|g; p; }' \
		< ${WRKSRC}/autobook_284.html > ${WRKDIR}/LICENSE

do-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>