aboutsummaryrefslogtreecommitdiffstats
path: root/german/dtaus/Makefile
blob: 6fb375c994b68de8b3f45136f9b230dcf644b555 (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
# New ports collection makefile for:    dtaus
# Date created:         12 Jan 2009
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

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

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Belegloser DatenTraegerAUStausch

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>