aboutsummaryrefslogtreecommitdiff
path: root/german/dtaus/Makefile
blob: e2ecb0572d10f5ce082b6a9d1d0a54ea6a2384ec (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
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    dtaus
# Date created:         12 Jan 2009
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=	dtaus
PORTVERSION=	0.9
CATEGORIES=	german finance
MASTER_SITES=	http://www.infodrom.org/projects/dtaus/download/

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	Belegloser DatenTraegerAUStausch

LICENSE=	GPLv2

ALL_TARGET=	dtaus
PLIST_FILES=	bin/dtaus

PORTDOCS=	ChangeLog README TODO dtaus.txt
PORTEXAMPLES=	dtaus.cls sample.ctl
MAN1=		dtaus.1
MAN5=		dtaus.5

do-configure:
	 ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
		${WRKSRC}/bigint.c ${WRKSRC}/dtaus.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dtaus ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/dtaus.1  ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/dtaus.5  ${PREFIX}/man/man5/
.ifndef(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${doc} \
		${DOCSDIR}/
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
.for doc in ${PORTEXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/${doc} \
		${EXAMPLESDIR}/
.endfor
.endif

.include <bsd.port.mk>