freebsd-ports/textproc/xmlindent/Makefile

29 lines
609 B
Makefile
Raw Normal View History

2013-05-08 00:10:41 +02:00
# Created by: ijliao
# $FreeBSD$
PORTNAME= xmlindent
PORTVERSION= 0.2.17
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= XML stream reformatter
2013-05-08 00:10:41 +02:00
LICENSE= GPLv2
SOURCES= error.c indent.c buffer.c main.c
2013-10-22 23:51:59 +02:00
PLIST_FILES= bin/xmlindent man/man1/xmlindent.1.gz
do-build:
@cd ${WRKSRC}; flex xmlindent.yy
2013-05-08 00:10:41 +02:00
${CC} ${CFLAGS} ${SOURCES:C/(.*)/${WRKSRC}\/\1/} \
-o ${WRKSRC}/${PORTNAME} -lfl
do-install:
2013-10-22 23:51:59 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>