summaryrefslogtreecommitdiffstats
path: root/mail/itraxp/Makefile
blob: 11983fed5701cac7ec18a2e61f6e893296a59e79 (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
41
42
43
44
45
# New ports collection makefile for:    itraxp
# Date created:         Thu Sep 16 16:45:51 UTC 2004
# Whom:                 Andrey Slusar <anrays@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	itraxp
PORTVERSION=	1.03.20050513
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	itraxpl

MAINTAINER=	anrays@gmail.com
COMMENT=	Advanced Perl supporting FTN messages tracker

USE_GMAKE=	yes
USE_BZIP2=	yes
USE_PERL5=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}/makefiles/Linux

SUBDIRS=	${DOCSDIR} ${DOCSDIR}/misc ${EXAMPLESDIR} \
		${EXAMPLESDIR}/include ${EXAMPLESDIR}/tab ${EXAMPLESDIR}/tpl

.include <bsd.port.pre.mk>

pre-fetch:
.if !defined(WITH_FIXPERL) && ${PERL_LEVEL} <= 500503
IGNORE=	Follow instructions in pkg-message and restart with -DWITH_FIXPERL
.endif

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${SUBDIRS}
	${INSTALL_DATA} ${WRKSRC}/../../doc/itraxp.txt ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/../../doc/misc/st_itraxp.pl ${DOCSDIR}/misc
.for i in itraxp.cfg procin.pl procmain.pl procout.pl readme
	${INSTALL_DATA} ${WRKSRC}/../../doc/example.cfg/${i} ${EXAMPLESDIR}
.endfor
	${CP} ${WRKSRC}/../../doc/example.cfg/include/*.cfg ${EXAMPLESDIR}/include
	${CP} ${WRKSRC}/../../doc/example.cfg/tab/*.tbl ${EXAMPLESDIR}/tab
	${CP} ${WRKSRC}/../../doc/example.cfg/tpl/*.tpl ${EXAMPLESDIR}/tpl
.endif

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