diff options
| author | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-04 15:55:40 +0000 |
|---|---|---|
| committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-04 15:55:40 +0000 |
| commit | 4742c4fa20204506f8207c5ec9fffaf476b6edfd (patch) | |
| tree | ef09b7c4325401b8200355d71b2686d06ffdc453 | |
| parent | - Add staging support (diff) | |
- Add staging support
- Remove leading article from COMMENT
- Convert to USES=gmake
- Remove Author line from pkg-descr
Notes
Notes:
svn path=/head/; revision=350134
| -rw-r--r-- | devel/zthread/Makefile | 15 | ||||
| -rw-r--r-- | devel/zthread/pkg-descr | 1 |
2 files changed, 6 insertions, 10 deletions
diff --git a/devel/zthread/Makefile b/devel/zthread/Makefile index 8f2b338081f7..3723fca6e4f2 100644 --- a/devel/zthread/Makefile +++ b/devel/zthread/Makefile @@ -9,12 +9,12 @@ MASTER_SITES= SF/${PORTNAME}/ZThread/${PORTVERSION} DISTNAME= ZThread-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A platform-independent object-oriented C++ threading library +COMMENT= Platform-independent object-oriented C++ threading library USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-ftime --disable-static -USE_GMAKE= yes +USES= gmake MAKE_ARGS+= INSTALL_PROGRAM="${INSTALL_SCRIPT}" MAKE_ENV+= SED=sed # req'd for LIBTOOL?! USE_LDCONFIG= yes @@ -23,19 +23,16 @@ OPTIONS_DEFINE= DOCS PORTDOCS= AUTHORS ChangeLog NEWS README TODO -NO_STAGE= yes post-extract: @${FIND} ${WRKSRC} -name CVS -type d -delete post-patch: @${FIND} ${WRKSRC} \( -name '*.orig' -or -name '*.swp' \) -delete - -.include <bsd.port.options.mk> + @${REINPLACE_CMD} -E 's,(bin|data|inlude)dir\),DESTDIR)$$(&,' \ + ${WRKSRC}/Makefile.in post-install: -.if ${PORT_OPTIONS:MDOCS} - @${INSTALL} -d ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> diff --git a/devel/zthread/pkg-descr b/devel/zthread/pkg-descr index 8023dbec783c..e74720fb128d 100644 --- a/devel/zthread/pkg-descr +++ b/devel/zthread/pkg-descr @@ -12,5 +12,4 @@ Paraphrasing the website: ZThread implementations are provided for POSIX and Win32 platforms. -Author: Eric Crahen <crahen@cse.buffalo.edu> WWW: http://zthread.sourceforge.net/ |
