diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-07 21:12:49 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-07 21:12:49 +0800 |
commit | fe916dfbe7acd349f8429733515a8b561545940f (patch) | |
tree | 13d0a7594e7149e41c6dca46b7356da2a79ca929 /databases/ruby-odbc | |
parent | 78714c7409542d82bdf63367ead0768e90f7ad90 (diff) | |
download | freebsd-ports-gnome-fe916dfbe7acd349f8429733515a8b561545940f.tar.gz freebsd-ports-gnome-fe916dfbe7acd349f8429733515a8b561545940f.tar.zst freebsd-ports-gnome-fe916dfbe7acd349f8429733515a8b561545940f.zip |
Support stage
Diffstat (limited to 'databases/ruby-odbc')
-rw-r--r-- | databases/ruby-odbc/Makefile | 22 | ||||
-rw-r--r-- | databases/ruby-odbc/pkg-descr | 1 |
2 files changed, 10 insertions, 13 deletions
diff --git a/databases/ruby-odbc/Makefile b/databases/ruby-odbc/Makefile index f5e7ab088ed7..048ab8dffede 100644 --- a/databases/ruby-odbc/Makefile +++ b/databases/ruby-odbc/Makefile @@ -13,6 +13,8 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= Ruby extension library to use ODBC data sources +OPTIONS_DEFINe= DOCS EXAMPLES + LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC USE_RUBY= yes @@ -23,33 +25,29 @@ INSTALL_WRKSRC= ${WRKSRC}/ext INSTALL_TARGET= site-install +MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \ + INSTALL_DATA="${INSTALL_DATA}" + PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/odbc.so \ %%RUBY_SITELIBDIR%%/cqgen.rb -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if !defined(NOPORTDOCS) EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} PORTEXAMPLES= test DOCSDIR= ${RUBY_MODDOCDIR} PORTDOCS= COPYING ChangeLog README doc -.endif post-extract: cd ${WRKSRC} && ${MV} lib ext/ post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} - cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${EXAMPLESDIR}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR}/ .endfor - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${DOCSDIR}/ + cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/ruby-odbc/pkg-descr b/databases/ruby-odbc/pkg-descr index fe881c028960..a586fc5de979 100644 --- a/databases/ruby-odbc/pkg-descr +++ b/databases/ruby-odbc/pkg-descr @@ -1,4 +1,3 @@ This is an extension library to use ODBC data sources from Ruby. -Author: Christian Werner <chw@ch-werner.de> WWW: http://www.ch-werner.de/rubyodbc/ |