aboutsummaryrefslogtreecommitdiff
path: root/emulators/hatari/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-11-20 06:06:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-11-20 06:06:49 +0000
commit95729d3d47a60fbbf93b03ca8577533d5a8620f8 (patch)
tree17c6a00b498a87225af9a7f301a3d3d10f75d520 /emulators/hatari/Makefile
parent298c1beebf75c58135dba5407580d4fb758c76bb (diff)
downloadports-95729d3d47a60fbbf93b03ca8577533d5a8620f8.tar.gz
ports-95729d3d47a60fbbf93b03ca8577533d5a8620f8.zip
Notes
Diffstat (limited to 'emulators/hatari/Makefile')
-rw-r--r--emulators/hatari/Makefile29
1 files changed, 21 insertions, 8 deletions
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile
index 3d3272d4f858..6eb941432773 100644
--- a/emulators/hatari/Makefile
+++ b/emulators/hatari/Makefile
@@ -6,30 +6,43 @@
#
PORTNAME= hatari
-PORTVERSION= 1.2.0
+PORTVERSION= 1.3.1
CATEGORIES= emulators
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= BERLIOS
MAINTAINER= ports@FreeBSD.org
COMMENT= An Atari ST emulator
-USE_GNOME= gnometarget
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
USE_BZIP2= yes
-USE_SDL= yes
+USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --datadir=${DATADIR}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+MANLANG= "" fr
+MAN1= ${PORTNAME}.1
+
+CPPFLAGS= `libpng-config --I_opts`
+LDFLAGS= `libpng-config --L_opts`
-MAN1= hatari.1
-MANCOMPRESSED= no
+post-patch:
+ @${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/^ICONPATH/s|/icons/.*$$|/pixmaps|' \
+ ${WRKSRC}/python-ui/Makefile
post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/hatari.1 ${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1
+ @${MKDIR} ${MANPREFIX}/man/fr/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/fr/${PORTNAME}.1 ${MANPREFIX}/man/fr/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/fr
+ ${INSTALL_DATA} ${WRKSRC}/doc/fr/*.txt ${DOCSDIR}/fr
@${MKDIR} ${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/doc/images/*.png ${DOCSDIR}/images
.endif