summaryrefslogtreecommitdiffstats
path: root/mail/sigit/Makefile
blob: d9e112d938a6a9983ed37f017b871b395c5c4b8c (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
# New ports collection makefile for:	sigit
# Date created:				18 August 2001
# Whom:					petef
#
# $FreeBSD$
#

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

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

USE_REINPLACE=	yes
USE_PERL5=	yes
USE_GMAKE=	yes
WRKSRC=	${WRKDIR}/sigit-${PORTVERSION}

MAN1=	sigit.1 sigit.rc.1

post-patch:
	@${REINPLACE_CMD} -e 's,/etc/sigit.rc,${PREFIX}/etc/sigit.rc,; \
		s,/usr/share/sigit,${DATADIR},' ${WRKSRC}/config.h

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud