diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-01-28 10:21:59 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-01-28 10:21:59 +0000 |
commit | 5a53bc762b140d1d46e5a9e3a0305b66c4635633 (patch) | |
tree | 2f3a9062e722ef9e18427d1c11c696aede8ef82e /japanese/zinnia | |
parent | a47d02c4e7bc5deeb9e90e7c85d39dfcd899e41b (diff) | |
download | ports-5a53bc762b140d1d46e5a9e3a0305b66c4635633.tar.gz ports-5a53bc762b140d1d46e5a9e3a0305b66c4635633.zip |
Notes
Diffstat (limited to 'japanese/zinnia')
-rw-r--r-- | japanese/zinnia/Makefile | 40 | ||||
-rw-r--r-- | japanese/zinnia/pkg-plist | 6 |
2 files changed, 14 insertions, 32 deletions
diff --git a/japanese/zinnia/Makefile b/japanese/zinnia/Makefile index f8259b1f83a7..14866a8c6d14 100644 --- a/japanese/zinnia/Makefile +++ b/japanese/zinnia/Makefile @@ -1,42 +1,30 @@ +# Created by: Timothy Beyer <beyert@cs.ucr.edu> # $FreeBSD$ -# Date created: 15 Aug 2010 -# Whom: Timothy Beyer <beyert@cs.ucr.edu> -# -# $FreeBSD$ -# - PORTNAME= zinnia PORTVERSION= 0.06 CATEGORIES= japanese -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF MAINTAINER= beyert@cs.ucr.edu -COMMENT= Simple, customizable, and portable online hand recognition system +COMMENT= Simple, customizable, and portable online handwriting recognition system -LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= BSD3CLAUSE -USE_GMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes -NO_STAGE= yes -.include <bsd.port.pre.mk> +PORTDOCS= index-ja.html index.html + +OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e '/^pkgconfigdir/s!=.*!= ${PREFIX}/libdata/pkgconfig!' \ - ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + '/^pkgconfigdir/s!=.*!= ${PREFIX}/libdata/pkgconfig!' \ + ${WRKSRC}/Makefile.in post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/index-ja.html ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/index-ja.html ${DOCSDIR} -.endif - -.include <bsd.port.post.mk> + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/japanese/zinnia/pkg-plist b/japanese/zinnia/pkg-plist index 6f2c34b1bb45..8d5f31076b74 100644 --- a/japanese/zinnia/pkg-plist +++ b/japanese/zinnia/pkg-plist @@ -8,10 +8,4 @@ lib/libzinnia.la lib/libzinnia.so lib/libzinnia.so.0 libdata/pkgconfig/zinnia.pc -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/index-ja.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/zinnia |