diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-07 21:23:10 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-07 21:23:10 +0800 |
commit | d994a3df5491df6ba5a64ef1c77b34811a4af708 (patch) | |
tree | 2f9bcb26437c2708e48464b97d08733a0e24b60d /databases | |
parent | e53bea5587a6b2a05313c48281e8fe1e0e6a8bbc (diff) | |
download | freebsd-ports-graphics-d994a3df5491df6ba5a64ef1c77b34811a4af708.tar.gz freebsd-ports-graphics-d994a3df5491df6ba5a64ef1c77b34811a4af708.tar.zst freebsd-ports-graphics-d994a3df5491df6ba5a64ef1c77b34811a4af708.zip |
Support stage
Allow packaging as a user
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-mysql/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile index 568a928f1fb..8de0f98e5cf 100644 --- a/databases/ruby-mysql/Makefile +++ b/databases/ruby-mysql/Makefile @@ -14,31 +14,25 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= Ruby module for accessing MySQL databases with a C API like interface -NO_STAGE= yes - USE_MYSQL= yes USE_RUBY= yes USE_RUBY_EXTCONF= yes CONFIGURE_ARGS= --with-mysql-config INSTALL_TARGET= site-install +MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \ + INSTALL_DATA="${INSTALL_DATA}" PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/mysql.so -.include <bsd.port.pre.mk> - -.if !defined(NOPORTDOCS) DOCSDIR= ${RUBY_MODDOCDIR} PORTDOCS= * -.endif post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/ja - ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/tommy.css ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/README_ja.html ${DOCSDIR}/ja/ - ${LN} -fs ../tommy.css ${DOCSDIR}/ja/ -.endif - -.include <bsd.port.post.mk> + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ja + ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/tommy.css ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README_ja.html ${STAGEDIR}${DOCSDIR}/ja/ + ${LN} -fs ../tommy.css ${STAGEDIR}${DOCSDIR}/ja/ + +.include <bsd.port.mk> |