diff options
author | knu <knu@FreeBSD.org> | 2001-03-12 18:57:25 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-03-12 18:57:25 +0000 |
commit | 79b9fb4d7749993d7d5800809db607d3b848ff21 (patch) | |
tree | 5cf2bc87f2bbc1dacbbb8f5201d10d1e22c7a23d /textproc | |
parent | 0354b5955b35389cef20a2dd42f5e724306b29c5 (diff) | |
download | FreeBSD-ports-79b9fb4d7749993d7d5800809db607d3b848ff21.zip FreeBSD-ports-79b9fb4d7749993d7d5800809db607d3b848ff21.tar.gz |
Update to Ruby/Qt2 0.12.
Introduce ruby-qt2/Makefile.common to share the variables.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-qt2xml/Makefile | 22 | ||||
-rw-r--r-- | textproc/ruby-qt2xml/pkg-plist | 33 |
2 files changed, 41 insertions, 14 deletions
diff --git a/textproc/ruby-qt2xml/Makefile b/textproc/ruby-qt2xml/Makefile index 9d64312..a76afd1 100644 --- a/textproc/ruby-qt2xml/Makefile +++ b/textproc/ruby-qt2xml/Makefile @@ -6,11 +6,11 @@ # PORTNAME= qt2xml -PORTVERSION= 0.11 +PORTVERSION= ${RUBY_QT2_PORTVERSION} CATEGORIES= textproc x11-toolkits ruby -MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/ +MASTER_SITES= ${RUBY_QT2_MASTER_SITES} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ruby-qt2-${PORTVERSION} +DISTNAME= ${RUBY_QT2_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org @@ -18,16 +18,14 @@ MAINTAINER= knu@FreeBSD.org BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/qt2.so:${RUBY_QT2_PORTDIR} RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/qt2.so:${RUBY_QT2_PORTDIR} -RUBY_QT2_PORTDIR= ${PORTSDIR}/x11-toolkits/ruby-qt2 - -MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo - USE_RUBY= yes USE_RUBY_EXTCONF= yes USE_GMAKE= yes -WRKSRC= ${WRKDIR}/qt2/modules/xml +.include "${.CURDIR}/../../x11-toolkits/ruby-qt2/Makefile.common" + +WRKSRC= ${RUBY_QT2_WRKSRC}/modules/xml CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \ --with-qt2-lib=${X11BASE}/lib \ --with-qt2=qt2 \ @@ -35,14 +33,10 @@ CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \ MAKE_ARGS= LOCAL_LIBS=-lgcc INSTALL_TARGET= site-install -post-extract: - cd ${WRKSRC}/examples/domexample && \ - ${RM} domtest1.cc domtest1 - post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_EXAMPLESDIR}/qt2xml - ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/qt2xml/ + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ .endif .include <bsd.port.mk> diff --git a/textproc/ruby-qt2xml/pkg-plist b/textproc/ruby-qt2xml/pkg-plist index 9766e7b..92d153a 100644 --- a/textproc/ruby-qt2xml/pkg-plist +++ b/textproc/ruby-qt2xml/pkg-plist @@ -1,9 +1,31 @@ %%RUBY_SITEARCHLIBDIR%%/qt2xml.so %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/domexample/quotes.xml %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/domexample/domtest1.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example1/example1.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example1/example1.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example2/example2.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example2/example2.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example2/example2j.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example2/example2j.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example3/example3.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example3/example3.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example4/example4.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example4/example4.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example5/example5.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example5/example5.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example6/example6.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example6/example6.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/formmaker.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/ui2rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/saxsample/sax.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/saxsample/sample.xml %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/saxsample/sample1.ui +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader-with-features/fnord.xml +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader-with-features/structureparser.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader-with-features/tagreader.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader/animals.xml +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader/structureparser.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader/tagreader.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/README.orig %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/quotes.xml %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/richtext.h.rb @@ -12,6 +34,17 @@ %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/xmlquotes.rb %%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/marble.png %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/domexample +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example1 +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example2 +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example3 +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example4 +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example5 +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples/example6 +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb/examples +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/qui2rb %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/saxsample +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/xml/tagreader-with-features +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/xml %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes %%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml |