aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ruby-syslog/Makefile
blob: 979f37efdc86f74ac963d009a2ebe5193024bf91 (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
# New ports collection makefile for:    Ruby-syslog
# Date created:     15 Aug 2000
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   syslog
PORTVERSION=    0.1.1
CATEGORIES= sysutils ruby
MASTER_SITES=   ${MASTER_SITE_LOCAL} \
        http://www.bekkoame.ne.jp/~yoshidam/
MASTER_SITE_SUBDIR= knu
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= site-install

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_EXAMPLESDIR}/syslog
    ${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/syslog/
    ${MKDIR} ${RUBY_DOCDIR}/syslog/
    ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/syslog/
.endif

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>