# New ports collection makefile for: ezxml # Date created: 27th July 2005 # Whom: Marcin Jessa # # $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 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