mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
ba227693d4
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.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= susv4
|
|
PORTVERSION= 20180131
|
|
CATEGORIES= misc
|
|
MASTER_SITES= #
|
|
DISTNAME= susv4-2018
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= mandree@FreeBSD.org
|
|
COMMENT= Open Group Base Specifications Issue 7/IEEE Std 1003.1, 2018 Edition
|
|
|
|
LICENSE= NONE
|
|
|
|
USES= tar:bzip2
|
|
|
|
RESTRICTED= Redistribution of the documents is not permitted
|
|
|
|
NO_ARCH= yes
|
|
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}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE= may not be redistributed because of licensing reasons. Please visit http://www.unix.org/online.html to accept their license and download ${DISTFILES} into ${DISTDIR}/${DIST_SUBDIR}
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && \
|
|
${FIND} . -name '*~' -delete && \
|
|
${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|