- Switch to libtool, drop .la file
- Strip library - Simplify and optionize docs installation
This commit is contained in:
parent
def5249fd4
commit
3174b06d91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355927
2 changed files with 6 additions and 8 deletions
|
@ -3,29 +3,28 @@
|
|||
|
||||
PORTNAME= libparsifal
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Lightweight XML Parser
|
||||
|
||||
USE_AUTOTOOLS= libtool
|
||||
USES= iconv
|
||||
USES= iconv libtool
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
||||
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR})
|
||||
.endif
|
||||
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -11,7 +11,6 @@ include/libparsifal/xmlsbuf.h
|
|||
include/libparsifal/xmlvect.h
|
||||
lib/libparsifal-%%VERSION%%.so
|
||||
lib/libparsifal.a
|
||||
lib/libparsifal.la
|
||||
lib/libparsifal.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conformance.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/csrchtml/canonxml_c.html
|
||||
|
|
Loading…
Reference in a new issue