diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-01-15 21:40:28 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-01-15 21:40:28 +0800 |
commit | d17f4033ae11c1ef211b336b25eb38a014e0c74b (patch) | |
tree | 98f96307b5a32cecd5d4e2104c22673c560b9789 /ftp | |
parent | 7e85483bc4dd371692cb42e0670e76bc41c0a5ba (diff) | |
download | freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.gz freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.zst freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.zip |
- Use DOC instead of NOPORTDOCS
- Pacify portlint
- Convert header
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/weex/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ftp/weex/Makefile b/ftp/weex/Makefile index 77157613c465..dd0696225a12 100644 --- a/ftp/weex/Makefile +++ b/ftp/weex/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: weex -# Date created: 8 Sep 2005 -# Whom: Emanuel Haupt <ehaupt@critical.ch> -# +# Created by: Emanuel Haupt <ehaupt@critical.ch> # $FreeBSD$ -# PORTNAME= weex PORTVERSION= 2.6.1.5 @@ -21,6 +17,10 @@ MAKE_JOBS_SAFE= yes PORTDOCS= ChangeLog README MAN1= weex.1 +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|^\(SUBDIRS.*\)debian|\1|' \ ${WRKSRC}/Makefile.in @@ -29,7 +29,7 @@ post-install: ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} |