2013-05-08 00:10:41 +02:00
|
|
|
# Created by: ijliao
|
2003-04-01 12:25:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xmlindent
|
2004-11-27 06:56:44 +01:00
|
|
|
PORTVERSION= 0.2.17
|
2005-10-17 22:56:00 +02:00
|
|
|
PORTREVISION= 1
|
2003-04-01 12:25:19 +02:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF
|
2003-04-01 12:25:19 +02:00
|
|
|
|
2010-06-18 14:08:15 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2004-02-06 09:46:46 +01:00
|
|
|
COMMENT= XML stream reformatter
|
2003-04-01 12:25:19 +02:00
|
|
|
|
2013-05-08 00:10:41 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2005-10-17 22:56:00 +02:00
|
|
|
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
|
2003-04-01 12:25:19 +02:00
|
|
|
|
2005-10-17 22:56:00 +02:00
|
|
|
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
|
2005-10-17 22:56:00 +02:00
|
|
|
|
|
|
|
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
|
2003-04-01 12:25:19 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|