aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ocaml-autoconf/Makefile
blob: 7fcee6f258a3796eab37838db2cfd89a790d83f7 (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
31
32
33
34
35
36
37
# New ports collection makefile for:    ocaml.m4
# Date created:     24 Marth 2010
# Whom:         stas
#
# $FreeBSD$
#

PORTNAME=   autoconf
PORTVERSION=    1.1
CATEGORIES= lang
MASTER_SITES=   http://forge.ocamlcore.org/frs/download.php/181/
PKGNAMEPREFIX=  ocaml-
DISTNAME=   ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER= stas@FreeBSD.org
COMMENT=    Autoconf module for ocaml

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-1.0

DOCSDIR=    ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
AC_SUBDIR=  ${PREFIX}/share/aclocal
PLIST_FILES=    share/aclocal/ocaml.m4

.if !defined(NOPORTDOCS)
PORTDOCS=   ocaml.m4.txt
.endif

do-install:
    ${MKDIR} ${AC_SUBDIR}/
    ${INSTALL_DATA} ${WRKSRC}/ocaml.m4 ${AC_SUBDIR}/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/ocaml.m4.txt ${DOCSDIR}/
.endif

.include <bsd.port.mk>