1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/german/dtaus/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= dtaus
2009-07-29 10:06:59 +00:00
PORTVERSION= 0.9
CATEGORIES= german finance
MASTER_SITES= http://www.infodrom.org/projects/dtaus/download/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Belegloser DatenTraegerAUStausch
2010-06-04 13:49:15 +00:00
LICENSE= GPLv2
ALL_TARGET= dtaus
2013-10-28 20:17:49 +00:00
PLIST_FILES= bin/dtaus man/man1/dtaus.1.gz man/man5/dtaus.5.gz
PORTDOCS= ChangeLog README TODO dtaus.txt
PORTEXAMPLES= dtaus.cls sample.ctl
OPTIONS_DEFINE= DOCS EXAMPLES
2013-10-27 22:29:46 +00:00
.include <bsd.port.options.mk>
do-configure:
2014-03-30 19:47:04 +00:00
${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
${WRKSRC}/bigint.c ${WRKSRC}/dtaus.c
2014-03-30 19:47:04 +00:00
${REINPLACE_CMD} -e 's|^CC =|CC?=|' \
-e 's|^CFLAGS =|CFLAGS+=|' \
${WRKSRC}/Makefile
2013-10-28 20:17:49 +00:00
do-install:
2013-10-27 22:29:46 +00:00
${INSTALL_PROGRAM} ${WRKSRC}/dtaus ${STAGEDIR}${PREFIX}/bin/
2014-03-04 06:51:37 +00:00
${INSTALL_MAN} ${WRKSRC}/dtaus.1 ${STAGEDIR}${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/dtaus.5 ${STAGEDIR}${PREFIX}/man/man5/
2013-10-27 22:29:46 +00:00
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} \
2013-10-27 22:29:46 +00:00
${STAGEDIR}${DOCSDIR}/
.endfor
.endif
2013-10-27 22:29:46 +00:00
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for doc in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${doc} \
2013-10-27 22:29:46 +00:00
${STAGEDIR}${EXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.mk>