summaryrefslogtreecommitdiff
path: root/misc/susv2/Makefile
blob: 7f56dd73efe0e39ffd17f50a9e095ea7dde69b8e (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
# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD$

PORTNAME=	susv2
PORTVERSION=	1.0
CATEGORIES=	misc
MASTER_SITES=	#
DISTNAME=	susv2

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Single UNIX Specification Version 2

RESTRICTED=	Redistribution of the documents is not permitted

USES=	tar:bzip2
NO_BUILD=	yes
PORTDOCS=	*

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=		may not be redistributed because of licensing reasons. Please visit http://www.unix-systems.org/online.html to accept their license and download ${DISTFILES} into ${DISTDIR}
.endif

do-install:
	@${MKDIR} ${DOCSDIR}
	@${FIND} ${WRKSRC} | ${SED} -e 's#^${WRKSRC}##' | while read file; do \
		if ${TEST} -d "${WRKSRC}$$file"; then \
			${MKDIR} "${DOCSDIR}$$file"; \
		else \
			${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \
		fi; \
	done

.include <bsd.port.post.mk>