diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-03 07:31:59 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-03 07:31:59 +0000 |
commit | 887fe0468fb652652147bc0d6bde72677cba2a55 (patch) | |
tree | 28df0d3f33a6c8bf7648e1c08e3559db625d3517 /databases/ruby-dbd_sqlite | |
parent | a702e9fdfc5e8ddd2510a4e2a699fda88bc0bddf (diff) | |
download | ports-887fe0468fb652652147bc0d6bde72677cba2a55.tar.gz ports-887fe0468fb652652147bc0d6bde72677cba2a55.zip |
Notes
Diffstat (limited to 'databases/ruby-dbd_sqlite')
-rw-r--r-- | databases/ruby-dbd_sqlite/Makefile | 16 | ||||
-rw-r--r-- | databases/ruby-dbd_sqlite/pkg-plist | 2 |
2 files changed, 15 insertions, 3 deletions
diff --git a/databases/ruby-dbd_sqlite/Makefile b/databases/ruby-dbd_sqlite/Makefile index adb09d1bfecd..d840fd3be067 100644 --- a/databases/ruby-dbd_sqlite/Makefile +++ b/databases/ruby-dbd_sqlite/Makefile @@ -24,10 +24,20 @@ USE_RUBY_SETUP= yes WRKSRC= ${RUBY_DBI_WRKSRC} CONFIGURE_ARGS= --with=ext/${PORTNAME} -post-patch: - ${RUBY} -i- -pe 'gsub "/usr/local", "${LOCALBASE}"' \ - ${WRKSRC}/ext/dbd_sqlite/extconf.rb +DOCS_EN= ext/${PORTNAME}/README .include "${.CURDIR}/../ruby-dbi/Makefile.common" +post-patch: + ${RUBY} -i- -pe 'gsub "/usr/local", "${LOCALBASE}"' \ + ${WRKSRC}/ext/${PORTNAME}/extconf.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME} +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}/ +.endfor +.endif + .include <bsd.port.mk> diff --git a/databases/ruby-dbd_sqlite/pkg-plist b/databases/ruby-dbd_sqlite/pkg-plist index e32e88f69229..87eaf3b25da2 100644 --- a/databases/ruby-dbd_sqlite/pkg-plist +++ b/databases/ruby-dbd_sqlite/pkg-plist @@ -1,2 +1,4 @@ %%RUBY_SITEARCHLIBDIR%%/DBD/SQLite/SQLite.so @dirrm %%RUBY_SITEARCHLIBDIR%%/DBD/SQLite +%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_sqlite/README +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_sqlite |