From e2377459259a49109b8e73790e2946e0c7e81e3a Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 19 Jan 2003 12:01:37 +0000 Subject: new port: misc/susv3 (Single UNIX Specification Version 3) The Singe UNIX Specification Version 3 is a set of numerous HTML pages describing this standard. PR: ports/37004 Submitted by: Simon 'corecode' Schubert --- misc/susv3/Makefile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 misc/susv3/Makefile (limited to 'misc/susv3/Makefile') diff --git a/misc/susv3/Makefile b/misc/susv3/Makefile new file mode 100644 index 000000000000..962150faa7b6 --- /dev/null +++ b/misc/susv3/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: susv3 +# Date created: 11 April 2002 +# Whom: Simon 'corecode' Schubert +# +# $FreeBSD$ +# + +PORTNAME= susv3 +PORTVERSION= 1.1 +CATEGORIES= misc +MASTER_SITES= # +DISTNAME= susv3 + +MAINTAINER= corecode@corecode.ath.cx + +RESTRICTED= "Redistribution of the documents is not permitted" + +USE_BZIP2= yes +NO_BUILD= yes + +PLIST= ${WRKDIR}/pkg-plist + +.include + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) +IGNORE= "may not be redistributed because of licensing reasons. Please visit http://www.unix-systems.org/version3/online.html to accept their license and download ${DISTFILES} into ${DISTDIR}" +.endif + +do-install: + @${MKDIR} ${DOCSDIR} + @> ${PLIST} + @${FIND} ${WRKSRC} | ${SED} -e 's#^${WRKSRC}##' | while read file; do \ + if ${TEST} -d "${WRKSRC}$$file"; then \ + ${MKDIR} "${DOCSDIR}$$file"; \ + ${ECHO} "@dirrm ${DOCSDIR:S#^${PREFIX}/##}$$file" >> ${PLIST}; \ + else \ + if ${TEST} -L "${WRKSRC}$$file"; then \ + ${LN} -s "`${LS} -l \"${WRKSRC}$$file\" | ${SED} -e 's/^.*> //'`" \ + "${DOCSDIR}$$file"; \ + else \ + ${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \ + fi; \ + ${ECHO} "${DOCSDIR:S#^${PREFIX}/##}$$file" >> ${PLIST}; \ + fi; \ + done + @(${RM} -f ${PLIST}; ${SED} -ne '/^@/{G;h;};/^@/!p;$${g;p;}' > ${PLIST}) < ${PLIST} + +.include -- cgit v1.2.3