mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: susv2
|
|
# Date created: 11 April 2002
|
|
# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= susv2
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= misc
|
|
MASTER_SITES= #
|
|
DISTNAME= susv2
|
|
|
|
MAINTAINER= corecode@corecode.ath.cx
|
|
COMMENT= Single UNIX Specification Version 2
|
|
|
|
RESTRICTED= "Redistribution of the documents is not permitted"
|
|
|
|
USE_BZIP2= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
.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}
|
|
@> ${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 \
|
|
${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \
|
|
${ECHO} "${DOCSDIR:S#^${PREFIX}/##}$$file" >> ${PLIST}; \
|
|
fi; \
|
|
done
|
|
@(${RM} -f ${PLIST}; ${SED} -ne '/^@/{G;h;};/^@/!p;$${g;p;}' > ${PLIST}) < ${PLIST}
|
|
|
|
.include <bsd.port.post.mk>
|