aboutsummaryrefslogtreecommitdiffstats
path: root/net/openreg/Makefile
blob: f0b89f157c8ff90b8d7f34a3c5a317da56ac2074 (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
40
41
42
43
# New ports collection makefile for:    openreg
# Date created:             6 June 2003
# Whom:                 seanc
#
# $FreeBSD$
#

PORTNAME=   openreg
PORTVERSION=    1.0.2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= openreg

MAINTAINER= seanc@FreeBSD.org
COMMENT=    Domain Registry software

RUN_DEPENDS=    ${LOCALBASE}/sbin/stunnel:${PORTSDIR}/security/stunnel \
        ${LOCALBASE}/sbin/named:${PORTSDIR}/dns/bind9 \
        ${LOCALBASE}/bin/postgres:${PORTSDIR}/${POSTGRESQL_PORT} \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
BUILD_DEPENDS=  ${LOCALBASE}/include/isc/buffer.h:${PORTSDIR}/dns/bind9
LIB_DEPENDS=    expat:${PORTSDIR}/textproc/expat2

POSTGRESQL_PORT?=   databases/postgresql7

USE_OPENSSL=    YES
USE_PERL5=  YES
GNU_CONFIGURE=  YES

post-install:
    @${MKDIR} ${DOCSDIR} ;\
    ${CP} -r ${WRKSRC}/doc/ ${DOCSDIR} ;\
    cd ${WRKSRC}/doc ;\
    for file in `${FIND} ./ ! -type d` ; do \
        printf "share/doc/${PORTNAME}/%s\n" $$file >> ${TMPPLIST} ;\
    done ;\
    for dir in `${FIND} ./ -type d -mindepth 1| sort -r` ; do \
        printf "@dirrm share/doc/${PORTNAME}/%s\n" $$dir >> ${TMPPLIST} ;\
    done
    @${ECHO} "@dirrm share/doc/${PORTNAME}" >> ${TMPPLIST}
    @${CAT} pkg-message

.include <bsd.port.mk>