blob: 56de89665159f83d719ace829bedd0ebc3318b0e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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= ports@FreeBSD.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>
|