aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-23 17:03:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-23 17:03:58 +0800
commit5af5159fbc2142dd597b1d174af880acaad6730f (patch)
tree827e8928c2facd32ab1f3200fb6ba1f5ca731584 /www
parent90c8066458748635df6abf4a1efd09f51449fbc3 (diff)
downloadfreebsd-ports-gnome-5af5159fbc2142dd597b1d174af880acaad6730f.tar.gz
freebsd-ports-gnome-5af5159fbc2142dd597b1d174af880acaad6730f.tar.zst
freebsd-ports-gnome-5af5159fbc2142dd597b1d174af880acaad6730f.zip
- Switch to USES=localbase
- Switch to options helpers
Diffstat (limited to 'www')
-rw-r--r--www/wsdlpull/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/www/wsdlpull/Makefile b/www/wsdlpull/Makefile
index 604b1cff3348..cee37a10ff94 100644
--- a/www/wsdlpull/Makefile
+++ b/www/wsdlpull/Makefile
@@ -10,32 +10,30 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ WSDL Parser
-LICENSE= LGPL21
+LICENSE= LGPL21 # code says LGPL20+ and MIT though
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-USES= libtool
-USE_LDCONFIG= yes
+USES= libtool localbase
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e '/-O2 -Wall/d' ${WRKSRC}/configure
- ${REINPLACE_CMD} \
+ @${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} \
+ @${REINPLACE_CMD} \
-e '/^man_MANS = / s| wsdlpull-config.1||' \
${WRKSRC}/man/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} README wsdlpull.html ${STAGEDIR}${DOCSDIR}