openbsd-ports/devel/dtc/Makefile
jasper 85a6156975 - use REVISION instead of a patch-level
from mikolaj kucharski, with a tweak by me in qt3-sqlite3-plugin
2010-12-05 18:24:33 +00:00

37 lines
786 B
Makefile

# $OpenBSD: Makefile,v 1.7 2010/12/05 18:24:33 jasper Exp $
COMMENT= Device Tree Compiler
DISTNAME= dtc-0.1
REVISION= 0
CATEGORIES= sysutils devel
HOMEPAGE= http://www.jdl.com/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://distfiles.nl/
WANTLIB += c
BUILD_DEPENDS= devel/bison
USE_GMAKE= Yes
MAKE_ENV+= V=1
REGRESS_TARGET= check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/{convert-dtsv0,ftdump,dtc} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libfdt/{lib,}fdt.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libfdt/libfdt.{a,so} ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dtc
${INSTALL_DATA} ${WRKSRC}/Documentation/*.txt ${PREFIX}/share/doc/dtc
.include <bsd.port.mk>