aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ebw3/Makefile
blob: 7cac1430fe624dcfa8fde21a25e55604b6e7fc0c (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
# New ports collection makefile for:    ebw3
# Date created:         23 Jun 1997
# Whom:                 Hironori Ikura <hikura@kaisei.org>
#
# $FreeBSD$
#

PORTNAME=   ebw3
PORTVERSION=    ${VERSION:S/-//}
CATEGORIES= japanese
MASTER_SITES=   ftp://ftp.imasy.or.jp/pub/unix/net/www/ebw3/
DISTNAME=   ${PORTNAME}-${VERSION}

MAINTAINER= hikura@kaisei.org

VERSION=    0.2-b4

STARTUP_SCRIPT= $(PREFIX)/etc/rc.d/ebw3d.sh.sample

post-install:
    ${MKDIR} ${PREFIX}/www/cgi-bin
    ${INSTALL} -c -o nobody -g nobody -m 555 ${WRKSRC}/cdsearch \
                        $(PREFIX)/www/cgi-bin
    ${INSTALL_DATA} ${WRKSRC}/ebw3d.conf $(PREFIX)/etc/ebw3d.conf.sample
.if !defined(NOPORTDOCS)
    ${MKDIR} $(PREFIX)/share/doc/ebw3
    ${INSTALL_DATA} ${WRKSRC}/INSTALL $(PREFIX)/share/doc/ebw3
    ${INSTALL_DATA} ${WRKSRC}/README $(PREFIX)/share/doc/ebw3
    ${INSTALL_DATA} ${FILESDIR}/README.port $(PREFIX)/share/doc/ebw3
    ${INSTALL_DATA} ${FILESDIR}/README.access $(PREFIX)/share/doc/ebw3
.endif
    ${INSTALL_SCRIPT} ${FILESDIR}/ebw3d.sh.sample $(PREFIX)/etc/rc.d

.include <bsd.port.mk>