aboutsummaryrefslogblamecommitdiff
path: root/emulators/uae/Makefile
blob: 69de69fa13a767273a81e9d1de0240d17c512a5f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                

                   
                      
                 
                         
                            

                                     


                                        
 
                     
 
                                               
                   
                     
 

                    
           

                                                      

                                                                
                                                                         

           

                                                             






                                                                               

                                                          

                                                                            
                                                            
                                                    
                                                             
                                                           
 







                                                                               

                                                    
 
                      
# Created by: Simon Dick <simond@irrelevant.org>

PORTNAME=	uae
PORTVERSION=	0.8.29
PORTREVISION=	3
CATEGORIES=	emulators
MASTER_SITES=	LOCAL/grembo

MAINTAINER=	simond@irrelevant.org
COMMENT=	Commodore Amiga emulator

LICENSE=	GPLv2

CONFLICTS=	e-uae

USES=		gmake gnome pkgconfig tar:bzip2
GNU_CONFIGURE=	yes
USE_GNOME=	gtk20

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|build68kc|build68k|' \
		${WRKSRC}/src/Makefile.in
	@${REINPLACE_CMD} -e 's|struct socketbase {|extern &|' \
		${WRKSRC}/src/include/bsdsocket.h
	@${LN} -sf ../md-ppc/support.c ${WRKSRC}/src/md-ppc-gcc/support.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/uae ${WRKSRC}/readdisk \
		${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AHI
	@${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes
	${INSTALL_DATA} ${WRKSRC}/amiga/mousehack ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/timehack ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/transdisk ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/transrom ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/uae-control ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/uae-control.info \
		${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/uae_rcli ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/uaectrl ${STAGEDIR}${DATADIR}/amiga
	${INSTALL_DATA} ${WRKSRC}/amiga/devs/AHI/uae.audio \
		${STAGEDIR}${DATADIR}/amiga/devs/AHI
	${INSTALL_DATA} ${WRKSRC}/amiga/devs/AudioModes/UAE \
		${STAGEDIR}${DATADIR}/amiga/devs/AudioModes

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/COMPATIBILITY ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/CREDITS ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/README.PROGRAMMERS ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/unix/README \
		${STAGEDIR}${DOCSDIR}/README.unix

.include <bsd.port.mk>