1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/textproc/ezxml/Makefile
Marcus Alves Grando fe26a4e4f6 Update to 0.8.5
PR:		86755
Submitted by:	Marcin Jessa <yazzy@yazzy.org> (maintainer)
Approved by:	pav (mentor)
2005-09-30 14:04:07 +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.5
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>