aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-03-07 01:53:27 +0800
committerantoine <antoine@FreeBSD.org>2014-03-07 01:53:27 +0800
commite42cab0810a66f6641eab943159d2e67fcfdb393 (patch)
treeb890c3a0f642ee673226ac27dde76e2ef6757132
parent335f44932964c080a791d5c823e2d5d698a97da5 (diff)
downloadfreebsd-ports-gnome-e42cab0810a66f6641eab943159d2e67fcfdb393.tar.gz
freebsd-ports-gnome-e42cab0810a66f6641eab943159d2e67fcfdb393.tar.zst
freebsd-ports-gnome-e42cab0810a66f6641eab943159d2e67fcfdb393.zip
Stage support
-rw-r--r--devel/talloc/Makefile17
-rw-r--r--devel/talloc/pkg-descr2
2 files changed, 7 insertions, 12 deletions
diff --git a/devel/talloc/Makefile b/devel/talloc/Makefile
index 3cdb4cbb073f..112a56a5c159 100644
--- a/devel/talloc/Makefile
+++ b/devel/talloc/Makefile
@@ -23,7 +23,6 @@ WAF_TOOL= buildtools/bin/waf
CONFIGURE_SCRIPT= ${WAF_TOOL} configure
CONFIGURE_LOG= bin/config.log
-
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
@@ -34,19 +33,17 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} \
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= PYTHON
-NO_STAGE= yes
.include <bsd.port.options.mk>
-MAN3= talloc.3
-
PLIST_FILES= include/talloc.h \
lib/libtalloc.so \
lib/libtalloc.so.2 \
- %%PKGCONFIGDIR%%/talloc.pc
+ %%PKGCONFIGDIR%%/talloc.pc \
+ man/man3/talloc.3.gz
CONFIGURE_ENV+= XSLTPROC="/usr/bin/true"
CONFIGURE_ENV+= NOCOLOR=yes
-MAKE_ENV+= NOCOLOR=yes
+MAKE_ENV+= NOCOLOR=yes ${DESTDIRNAME}=${STAGEDIR}
.if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE)
CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER}
@@ -88,14 +85,12 @@ pre-configure:
fi
pre-build:
-.for man in ${MAN3}
@${MKDIR} ${BUILD_WRKSRC}/bin/default
- @${INSTALL_MAN} ${FILESDIR}/${man} ${BUILD_WRKSRC}/bin/default
-.endfor
+ @${INSTALL_MAN} ${FILESDIR}/talloc.3 ${BUILD_WRKSRC}/bin/default
do-build:
@(cd ${BUILD_WRKSRC}; \
- if ! ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${BUILD_WRKSRC}/${WAF_TOOL} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}; then \
+ if ! ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${BUILD_WRKSRC}/${WAF_TOOL} ${_MAKE_JOBS} ${ALL_TARGET}; then \
if [ x != x${BUILD_FAIL_MESSAGE} ] ; then \
${ECHO_MSG} "===> Compilation failed unexpectedly."; \
(${ECHO_CMD} ${BUILD_FAIL_MESSAGE}) | ${FMT} 75 79 ; \
@@ -104,6 +99,6 @@ do-build:
fi)
do-install:
- @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${MAKE_ARGS} ${INSTALL_TARGET})
+ @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${INSTALL_WRKSRC}/${WAF_TOOL} ${INSTALL_TARGET})
.include <bsd.port.post.mk>
diff --git a/devel/talloc/pkg-descr b/devel/talloc/pkg-descr
index 019b37797940..bb86bf2367a9 100644
--- a/devel/talloc/pkg-descr
+++ b/devel/talloc/pkg-descr
@@ -1,4 +1,4 @@
A hierarchical pool based memory allocator with destructors. It uses
reference counting to determine when memory should be freed.
-WWW: http://talloc.samba.org/
+WWW: http://talloc.samba.org/