mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Support stage
Allow packaging as a user
This commit is contained in:
parent
8b69a5aedb
commit
c12b600a5f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350471
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user