- 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
|
PORTNAME= libparsifal
|
||||||
PORTVERSION= 1.1.0
|
PORTVERSION= 1.1.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/
|
MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Lightweight XML Parser
|
COMMENT= Lightweight XML Parser
|
||||||
|
|
||||||
USE_AUTOTOOLS= libtool
|
USES= iconv libtool
|
||||||
USES= iconv
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
PLIST_SUB= VERSION=${PORTVERSION}
|
PLIST_SUB= VERSION=${PORTVERSION}
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.ifndef(NOPORTDOCS)
|
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||||
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
|
||||||
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR})
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -11,7 +11,6 @@ include/libparsifal/xmlsbuf.h
|
||||||
include/libparsifal/xmlvect.h
|
include/libparsifal/xmlvect.h
|
||||||
lib/libparsifal-%%VERSION%%.so
|
lib/libparsifal-%%VERSION%%.so
|
||||||
lib/libparsifal.a
|
lib/libparsifal.a
|
||||||
lib/libparsifal.la
|
|
||||||
lib/libparsifal.so
|
lib/libparsifal.so
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/conformance.html
|
%%PORTDOCS%%%%DOCSDIR%%/conformance.html
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/csrchtml/canonxml_c.html
|
%%PORTDOCS%%%%DOCSDIR%%/csrchtml/canonxml_c.html
|
||||||
|
|
Loading…
Reference in a new issue