aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sather-tutorial/Makefile
blob: 9ddf1c91de0853bc3b8995f85639601e40b334b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:        sather-tutorial
# Date created:         5 August 2006
# Whom:             Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#

PORTNAME=   tutorial
PORTVERSION=    000328
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=sather/Doc
PKGNAMEPREFIX=  sather-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}.html

MAINTAINER= stas@FreeBSD.org
COMMENT=    A tutorial on the Sather programming language

NO_BUILD=   yes
NO_WRKSUBDIR=   yes
DOCSDIR=    ${PREFIX}/share/doc/sather/${PORTNAME}

do-install:
    ${MKDIR} ${DOCSDIR}
    @${TAR} -xzf ${DISTDIR}/${DISTFILES} -C ${DOCSDIR}
    @${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
    ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/

.include <bsd.port.mk>