freebsd-ports/misc/susv2/Makefile
Matthias Andree ba227693d4 misc/susv*: fix fallout from PR#230864/c479406, misc fixes
susv2, update URLs to keep things downloadable
susv3, add a more direct access link
susv4, update to newer version (2018 edition), revise pkg-descr

susv2, susv3: add the file revision date to PORTVERSION for consistency and
transparency.

all: add OPTIONS_SLAVE=DOCS because it is no good installing an empty port,
systems that do not want documentation shall not install these ports.

all: Reshuffle Makefile lines to reduce number of portlint warnings.
2018-10-06 14:24:59 +00:00

39 lines
1.2 KiB
Makefile

# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD$
PORTNAME= susv2
PORTVERSION= 1.0.20010716
CATEGORIES= misc
MASTER_SITES= #
DISTNAME= susv2
MAINTAINER= mandree@FreeBSD.org
COMMENT= Single UNIX Specification Version 2
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 <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= may not be redistributed because of licensing reasons. Please visit http://www.unix.org/version2/online.html or http://pubs.opengroup.org/onlinepubs/7908799/download/ to accept their license and download ${DISTFILES} into ${DISTDIR}
.endif
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>