freebsd-ports/sysutils/vhdtool/Makefile
Glen Barber 593930a167 Add sysutils/vhdtool, a utility to create VHD files from
raw disk images.

Reviewed by:	bdrewery
Sponsored by:	The FreeBSD Foundation
2014-04-22 16:53:16 +00:00

32 lines
735 B
Makefile

# $FreeBSD$
PORTNAME= vhdtool
PORTVERSION= 0.1
CATEGORIES= sysutils
MASTER_SITES= http://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/ \
LOCAL/gjb/${PORTNAME}
MAINTAINER= gjb@FreeBSD.org
COMMENT= Convert raw disk images to VHD files
LICENSE= GPLv2
USE_LDCONFIG= yes
LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
CFLAGS+= -I${LOCALBASE}/include \
-L${LOCALBASE}/lib \
-I${LOCALBASE}/lib \
-luuid
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.for D in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${D} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>