diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-07 13:19:11 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-07 13:19:11 +0000 |
commit | c12b600a5f9d1470495d78a3d5e46a64eecdc479 (patch) | |
tree | bd3ab255c3e964e7bc65feb77ded951cff013816 /databases/ruby-gdbm | |
parent | - fix build with ffmpeg2 (diff) |
Support stage
Allow packaging as a user
Notes
Notes:
svn path=/head/; revision=350471
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r-- | databases/ruby-gdbm/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile index 3bcc9245d38f..5db489959a7c 100644 --- a/databases/ruby-gdbm/Makefile +++ b/databases/ruby-gdbm/Makefile @@ -11,7 +11,7 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTFILES= # none MAINTAINER= ruby@FreeBSD.org -COMMENT= A Ruby extension to GDBM library +COMMENT= Ruby extension to GDBM library FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm @@ -19,19 +19,15 @@ LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm PLIST_FILES= %%RUBY_ARCHLIBDIR%%/gdbm.so USE_RUBY= yes USE_RUBY_EXTCONF= yes - WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes -.include <bsd.port.pre.mk> +MAKE_ARGS= sitelibdir='$$(rubylibdir)' \ + INSTALL_PROG="${INSTALL_PROGRAM}" \ + INSTALL_DATA="${INSTALL_DATA}" -MAKE_ARGS= sitelibdir='$$(rubylibdir)' do-extract: ${MKDIR} ${WRKDIR} ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/ -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |