summaryrefslogtreecommitdiff
path: root/german/dtaus/Makefile
blob: 7adf0d82081c783b63c47b1686b93ad39463957c (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
46
# $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

NO_STAGE=	yes

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>