aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sigit/Makefile
blob: 19eb7183dabc1b87820abf627115bc5c4606b355 (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:    sigit
# Date created:             18 August 2001
# Whom:                 petef
#
# $FreeBSD$
#

PORTNAME=   sigit
PORTVERSION=    0.3.0
CATEGORIES= mail
MASTER_SITES=   http://www.redhead.dk/download/stable/
DISTNAME=   Sigit-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A tool to create random signatures

BUILD_DEPENDS=  ${LOCALBASE}/bin/boxes:${PORTSDIR}/misc/boxes

LICENSE=    GPLv2

USE_PERL5_BUILD=    yes
USE_GMAKE=  yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${DATADIR} \
        --bin-dir=${PREFIX}/bin \
        --man-dir=${PREFIX}/man \
        --etc-dir=${PREFIX}/etc

MAN1=   sigit.1 sigitdb.1
MAN5=   sigit.rc.5

post-patch:
    @${MV} ${WRKSRC}/data/sigit.rc ${WRKSRC}/data/sigit.rc.dist

post-install:
    @(if [ ! -f ${PREFIX}/etc/sigit.rc ]; then \
        ${CP} ${PREFIX}/etc/sigit.rc.dist ${PREFIX}/etc/sigit.rc; fi)

.include <bsd.port.mk>