summaryrefslogtreecommitdiff
path: root/mail/sigit/Makefile
blob: 49772d9a04e0491d1ad6d38089b9e1d671ad7161 (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
# Created by: 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

NO_STAGE=	yes
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>