summaryrefslogtreecommitdiff
path: root/converters/xml2c/Makefile
blob: dfc4a9770e33918eb333a65f522bca4a885b0846 (plain)
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

PORTNAME=	xml2c
PORTVERSION=	20151019
CATEGORIES=	converters
MASTER_SITES=	https://acme.com/software/xml2c/
DISTNAME=	${PORTNAME}_19Oct2015

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Convert an XML file into C struct/string declarations

LICENSE=	BSD2CLAUSE

USES=		gnome
USE_GNOME=	libxml2

WRKSRC=		${WRKDIR}/xml2c

PLIST_FILES=	bin/xml2c \
		share/man/man1/xml2c.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xml2c ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1/xml2c.1

.include <bsd.port.mk>