pkgsrc/emulators/ucon64/Makefile
marino 0d3206e6da emulators/ucon64: Fix for libz >= 1.2.6
As previously predicted, the horrible code in archive.c wouldn't last long
before breaking.  There were a few dozen errors erupting when libz 1.2.7
header was used.  The previous patch-af was appended, but the previous fix
for linux was changed because that was broken too.

Info: typedef of gzFile changed from void* at version 1.2.6, so its use
is no longer optional with libz versions >= 1.2.6.
2012-07-18 22:10:21 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2012/07/18 22:10:21 marino Exp $
#
DISTNAME= ucon64-2.0.0-src
PKGNAME= ${DISTNAME:S/-src//}
PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ucon64/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ucon64.sourceforge.net/
COMMENT= Emulator ROM and disk image converter and inspector
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/src
CONFIGURE_ARGS+= --disable-discmage # requires some work
CONFIGURE_ARGS+= --disable-dload
CPPFLAGS+= -D__unix__
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
CHECK_PORTABILITY_SKIP+=install_beos.sh
INSTALLATION_DIRS= bin share/examples/ucon64 share/doc/ucon64/images
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ucon64 ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/[a-z]*.txt \
${DESTDIR}${PREFIX}/share/examples/ucon64
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.html \
${DESTDIR}${PREFIX}/share/doc/ucon64
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/images/* \
${DESTDIR}${PREFIX}/share/doc/ucon64/images
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"