Date: Sun, 12 Jan 2014 19:01:56 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339531 - head/www/qdecoder Message-ID: <201401121901.s0CJ1uad063190@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Sun Jan 12 19:01:55 2014 New Revision: 339531 URL: http://svnweb.freebsd.org/changeset/ports/339531 Log: - Enable stage support - Fix compilation with DEBUG option - Move full package list to pkg-plist - Minor cleanups Added: head/www/qdecoder/pkg-plist (contents, props changed) Modified: head/www/qdecoder/Makefile Modified: head/www/qdecoder/Makefile ============================================================================== --- head/www/qdecoder/Makefile Sun Jan 12 18:50:44 2014 (r339530) +++ head/www/qdecoder/Makefile Sun Jan 12 19:01:55 2014 (r339531) @@ -15,25 +15,17 @@ USE_LDCONFIG= yes MAKE_ARGS= exec_prefix="${PREFIX}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -OPTIONS_DEFINE= DEBUG -PORTEXAMPLES= * +OPTIONS_DEFINE= DEBUG +DEBUG_CONFIGURE_ENABLE= debug -PLIST_FILES= include/qdecoder.h \ - lib/libqdecoder.a \ - lib/libqdecoder.so \ - lib/libqdecoder.so.12 - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+="--enable-debug" -.endif +post-patch: + ${REINPLACE_CMD} 's/.{[A-Z]*DIR/$${DESTDIR}&/' ${WRKSRC}/src/Makefile.in + ${REINPLACE_CMD} '/<limits/{p;s//<errno/;}' ${WRKSRC}/src/qcgireq.c post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "Makefile *.c *.html" ${EXAMPLESDIR}) -.endif + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "Makefile *.c *.html" \ + ${STAGEDIR}${EXAMPLESDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libqdecoder.so .include <bsd.port.mk> Added: head/www/qdecoder/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/qdecoder/pkg-plist Sun Jan 12 19:01:55 2014 (r339531) @@ -0,0 +1,14 @@ +include/qdecoder.h +lib/libqdecoder.a +lib/libqdecoder.so +lib/libqdecoder.so.12 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/download.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multivalue.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/query.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/session.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uploadfile.c +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401121901.s0CJ1uad063190>