aboutsummaryrefslogblamecommitdiff
path: root/german/dtaus/Makefile
blob: 85e932459c217cee7f7571894fa2f82f7280ca3b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                     
                   





                                                                

                     
                     
                                                                 

                                               
 
                             
 

                              
             
                                                         
                                                    


                                             
 
           
                                                                    

                                                                       

                                      

                                          
                                      

       

                                          

                                          
                                          



                      
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 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

.include <bsd.port.options.mk>

do-configure:
	${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
		${WRKSRC}/bigint.c ${WRKSRC}/dtaus.c
	${REINPLACE_CMD} -e 's|^CC =|CC?=|' \
		 -e 's|^CFLAGS =|CFLAGS+=|' \
		${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dtaus ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/dtaus.1 ${STAGEDIR}${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/dtaus.5 ${STAGEDIR}${PREFIX}/man/man5/
.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>