ports/www/wsdlpull/Makefile
Muhammad Moinur Rahman 6967ec85bb
www/wsdlpull: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-26 15:31:48 +01:00

40 lines
1.0 KiB
Makefile

PORTNAME= wsdlpull
PORTVERSION= 1.24
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ WSDL Parser
WWW= https://wsdlpull.sourceforge.net/
LICENSE= LGPL21 # code says LGPL20+ and MIT though
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
USES= libtool localbase
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
@${REINPLACE_CMD} \
-e '/SUBDIRS = / s| docs||' \
-e '/^install-data-am:/ s| install-docsDATA||' \
${WRKSRC}/Makefile.in
# Do not install wsdlpull-config.1 for the absence of wsdlpull-config
@${REINPLACE_CMD} \
-e '/^man_MANS = / s| wsdlpull-config.1||' \
${WRKSRC}/man/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>