mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Convert to staging.
Sponsored by: Absolight
This commit is contained in:
parent
0718dcf903
commit
69eae58033
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341276
@ -7,7 +7,6 @@ CATEGORIES= textproc devel
|
||||
MASTER_SITES= SF/${PORTNAME}/ezXML/ezXML%20${PORTVERSION} \
|
||||
http://www.yazzy.org/ports/ezxml/
|
||||
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Easy to use C library for parsing XML documents
|
||||
|
||||
@ -16,27 +15,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
LIBFILES= libezxml.a
|
||||
HEADERFILES= ezxml.h
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
PLIST_FILES= include/${HEADERFILES} \
|
||||
lib/${LIBFILES}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PLIST_FILES+= %%EXAMPLESDIR%%/ezxml.txt
|
||||
PLIST_DIRS= %%EXAMPLESDIR%%
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
PORTEXAMPLES= *
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${LIBFILES} ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/${HEADERFILES} ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/${LIBFILES} ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/${HEADERFILES} ${STAGEDIR}${PREFIX}/include
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ezxml.txt ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.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>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user