aboutsummaryrefslogtreecommitdiffstats
path: root/devel/oniguruma/Makefile
blob: 05c04e08d12449799927c6b6a8e7a18b2163e0e9 (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
38
39
# New ports collection makefile for:    Oniguruma
# Date created:     31 January 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   oniguruma
PORTVERSION=    1.7.2
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= contrib
DISTNAME=   onigd20030212
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

WRKSRC=     ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE=  yes
MAKEFILE=   BSDmakefile
MAKE_ARGS=  NOPROFILE=true
INSTALLS_SHLIB= yes

DOCS=       HISTORY README doc/*

pre-build:
    ${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}/

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
    ${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>