1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/textproc/ezxml/Makefile
Martin Wilke 1fb4693b2f - Update 0.8.6
PR:		ports/107156
Submitted by:	miwi
Approved by:	maintainer
2006-12-27 14:21:14 +00:00

46 lines
1.0 KiB
Makefile

# New ports collection makefile for: ezxml
# Date created: 27th July 2005
# Whom: Marcin Jessa <yazzy@yazzy.org>
#
# $FreeBSD$
#
PORTNAME= ezxml
PORTVERSION= 0.8.6
CATEGORIES= textproc devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.yazzy.org/ports/ezxml/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= yazzy@yazzy.org
COMMENT= Easy to use C library for parsing XML documents
WRKSRC= ${WRKDIR}/${PORTNAME}
LIBFILES= libezxml.a
HEADERFILES= ezxml.h
PLIST_FILES= include/${HEADERFILES} \
lib/${LIBFILES}
.if !defined(NOPORTDOCS)
PLIST_FILES+= %%EXAMPLESDIR%%/ezxml.txt
PLIST_DIRS= %%EXAMPLESDIR%%
.endif
.include <bsd.port.pre.mk>
do-install:
${INSTALL_DATA} ${WRKSRC}/${LIBFILES} ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/${HEADERFILES} ${PREFIX}/include
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ezxml.txt ${EXAMPLESDIR}
@${ECHO} "An example of how to use the ezXML library can be found in"
@${ECHO} "${EXAMPLESDIR}"
.endif
.include <bsd.port.post.mk>