summaryrefslogtreecommitdiff
path: root/mail/sigit/Makefile
blob: bd52428926f917bfd2a1ab4e2d241b1de7428aeb (plain)
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
# 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

USES=		perl5
USE_PERL5=	build
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>