pkgsrc/emulators/DatUtil/Makefile

33 lines
895 B
Makefile

# $NetBSD: Makefile,v 1.26 2012/10/03 12:55:08 asau Exp $
#
DISTNAME= dutil232
PKGNAME= DatUtil-2.32
CATEGORIES= emulators
MASTER_SITES= http://www.logiqx.com/Tools/DatUtil/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.logiqx.com/Tools/DatUtil/DatUtil.php
COMMENT= Create and convert emulator rom checksum files
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
BUILD_TARGET= datutil
EXTRACT_OPTS_ZIP= -aaqo
INSTALLATION_DIRS= bin
post-extract:
${MKDIR} ${WRKSRC}/obj
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/datutil ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/DatUtil
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/DatUtil
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.DatLib+= DatLib>=2.21
.include "../../emulators/DatLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"