aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/vhdtool/Makefile
blob: 0ee4048116b9cf06053bab456666aa98269c8258 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $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>