blob: 84794f2cdb6fe614896979dfc56e71beb7cd8f18 (
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
|
# $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
USES= manpages:install
ALL_TARGET= dtaus
PLIST_FILES= bin/dtaus
PORTDOCS= ChangeLog README TODO dtaus.txt
PORTEXAMPLES= dtaus.cls sample.ctl
MAN1= dtaus.1
MAN5= dtaus.5
.include <bsd.port.options.mk>
do-configure:
${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
${WRKSRC}/bigint.c ${WRKSRC}/dtaus.c
do-install: install-all-manpages
${INSTALL_PROGRAM} ${WRKSRC}/dtaus ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} \
${STAGEDIR}${DOCSDIR}/
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for doc in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${doc} \
${STAGEDIR}${EXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.mk>
|