# Created by: Simon 'corecode' Schubert # $FreeBSD: head/misc/susv3/Makefile 481367 2018-10-06 14:24:59Z mandree $ PORTNAME= susv3 PORTVERSION= 1.2.20050121 CATEGORIES= misc MASTER_SITES= # DISTNAME= susv3 MAINTAINER= mandree@FreeBSD.org COMMENT= Single UNIX Specification Version 3 LICENSE= NONE USES= tar:bzip2 RESTRICTED= Redistribution of the documents is not permitted NO_BUILD= yes PORTDOCS= * OPTIONS_DEFINE= DOCS # Fix fallout of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230864 and force the option on; # meaning is to force this option on. The previous change around Sept 2018 introduced a regression in # that PORTDOCS only works if there is a DOCS option. It does not, however, make sense to install # empty documentation ports. OPTIONS_SLAVE= DOCS .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= may not be redistributed because of licensing reasons. Please visit http://www.unix.org/version3/online.html or https://publications.opengroup.org/t041 to accept their license and download ${DISTFILES} into ${DISTDIR} . You may need to choose "Read HTML Edition Online", navigate to it, and then find the Download link at the bottom right of the page .endif do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} .include