42 lines
864 B
Makefile
42 lines
864 B
Makefile
# $OpenBSD: Makefile,v 1.9 2020/04/06 08:48:06 pirofti Exp $
|
|
|
|
COMMENT = easy-to-use minimalistic disassembler library
|
|
|
|
DISTNAME = udis86-1.7.2
|
|
CATEGORIES = devel
|
|
REVISION = 2
|
|
|
|
SHARED_LIBS= udis86 1.0
|
|
|
|
HOMEPAGE = http://udis86.sourceforge.net/
|
|
|
|
MAINTAINER = Paul Irofti <paul@irofti.net>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=udis86/}
|
|
|
|
WANTLIB += c
|
|
|
|
MODULES = lang/python
|
|
|
|
BUILD_DEPENDS = devel/yasm \
|
|
textproc/py-sphinx
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
MAKE_ENV = LIBudis86_VERSION=${LIBudis86_VERSION}
|
|
|
|
FAKE_FLAGS = docdir=${PREFIX}/share/doc/udis86/x86
|
|
|
|
post-build:
|
|
@cd ${WRKBUILD}/docs/manual \
|
|
&& exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html-local
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/udis86/manual
|
|
cd ${WRKBUILD}/docs/manual/html && \
|
|
pax -rw * ${PREFIX}/share/doc/udis86/manual
|
|
|
|
.include <bsd.port.mk>
|